import { BuilderDebugContext } from './context';
export declare class AssetsUpdater {
    protected context: BuilderDebugContext;
    protected updatingTask: Promise<void> | undefined;
    constructor(context: BuilderDebugContext);
    /**
     * 检查本地资源文件是否过期并进行更新，每日只更新一次
     */
    updateOfflineAssetsToday(): Promise<void>;
    /**
     * 更新本地资源文件
     */
    updateOfflineAssets(): Promise<void>;
    protected runUpdateTask(): Promise<void>;
    protected updateLocalFile(filePath: string, url: string | undefined, integrity: string | undefined): Promise<void>;
}
