import * as plugins from '../../plugins.js';
import type { OpsServer } from '../classes.opsserver.js';
import * as interfaces from '../../../dist_ts_interfaces/index.js';
type IAppStoreUpgradeOperation = interfaces.requests.IAppStoreUpgradeOperation;
export declare class AppStoreHandler {
    private opsServerRef;
    typedrouter: plugins.typedrequest.TypedRouter<plugins.typedrequestInterfaces.ITypedRequest>;
    private upgradeOperations;
    constructor(opsServerRef: OpsServer);
    private getUpgradeOperations;
    private pruneUpgradeOperations;
    getUpgradeOperationsForService(serviceNameArg: string): IAppStoreUpgradeOperation[];
    clearOperationsForService(serviceNameArg: string): void;
    private getSafeAppStoreErrorMessage;
    private createSafeAppStoreTypedError;
    startHostedAppUpgrade(serviceNameArg: string, targetVersionArg: string): Promise<IAppStoreUpgradeOperation>;
    private getRunningUpgrade;
    private createUpgradeOperation;
    private updateUpgradeOperation;
    private pushUpgradeProgress;
    private performUpgrade;
    private registerHandlers;
}
export {};
