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 { EntityDict } from '../oak-app-domain'; import { MediaType, MediaVideoDescription } from '../types/WeChat'; export declare class Application extends Feature { private version; private applicationId?; private application?; private cache; private storage; private projection; private sensitiveEntities; constructor(cache: Cache, storage: LocalStorage, version: string); private getApplicationFromCache; private loadApplicationInfo; initialize(version: string, domain: string, appId?: string | null, projection?: EntityDict['application']['Projection']): Promise; getApplication(): Partial; getApplicationId(allowUnInitialized?: boolean): string | undefined; uploadWechatMedia(params: { applicationId: string; file: File; type: MediaType; isPermanent?: boolean; description?: MediaVideoDescription; }): Promise; getVersion(): string; }