import * as interfaces from '../../dist_ts_interfaces/index.js';
export declare class OneboxUpdateManager {
    private cachedStatus;
    private cachedStatusExpiresAt;
    private upgradeStartedAt;
    private readonly statusCacheTtlMs;
    getUpdateStatus(optionsArg?: {
        force?: boolean;
    }): Promise<interfaces.data.IOneboxUpdateStatus>;
    startDetachedUpgrade(): Promise<interfaces.data.IOneboxUpgradeStartResult>;
    runUpgradeForeground(statusArg?: interfaces.data.IOneboxUpdateStatus): Promise<interfaces.data.IOneboxUpgradeStartResult>;
    private fetchUpdateStatus;
    private fetchLatestRelease;
    private assertRoot;
    private assertUpdateCheckSucceeded;
    private normalizeVersion;
    private createDetachedUpgradeScript;
}
