import { LocalStorage } from 'oak-frontend-base/es/features/localStorage'; import { Cache } from 'oak-frontend-base/es/features/cache'; import { Feature } from 'oak-frontend-base/es/types/Feature'; import { CommonAspectDict } from 'oak-common-aspect'; import { EntityDict } from '../oak-app-domain'; import { AppType } from '../oak-app-domain/Application/Schema'; import AspectDict from '../aspects/AspectDict'; import { BackendRuntimeContext } from '../context/BackendRuntimeContext'; import { FrontendRuntimeContext } from '../context/FrontendRuntimeContext'; import { MediaType, MediaVideoDescription } from '../types/WeChat'; export declare class Application, FrontCxt extends FrontendRuntimeContext, AD extends AspectDict & CommonAspectDict> extends Feature { private type; private domain; private applicationId?; private application?; private cache; private storage; private projection; constructor(type: AppType, domain: string, cache: Cache>, storage: LocalStorage); private refresh; private getApplicationFromCache; private loadApplicationInfo; initialize(appId?: string | null, projection?: EntityDict['application']['Selection']['data']): Promise; getApplication(): Partial | undefined; getApplicationId(): string; uploadWechatMedia(params: { applicationId: string; file: File; type: MediaType; isPermanent?: boolean; description?: MediaVideoDescription; }): Promise)["uploadWechatMedia"]>>; }