import Manager from '../../common/ModuleManager';
import { FGCacheFileType, UpdateData } from './type';
import { IConfig } from '../../config/common';
import Request from '../../modules/service/help/Request';
import { ProxyConfig } from '../../types/service';
export default class Update {
    config: IConfig;
    request: Request;
    constructor(params: {
        config: IConfig;
    });
    getTenantUserId(): Promise<{
        userId: string;
        tenantId: string;
        environment: string;
    }>;
    getStorageProxy(): ProxyConfig;
    getUpdateUrl(version: string): Promise<string>;
    getFGUrl(version: string): Promise<string>;
    fetchUpdateData(version: string): Promise<UpdateData | null>;
    writeUpdateData(manager?: Manager, needUpdate?: boolean): Promise<UpdateData | null>;
    getFGData(): FGCacheFileType;
    getUpdateData(): UpdateData;
    writeFGData(): Promise<{} | void>;
    private updateStaticResource;
}
