/**
 * @license
 * Copyright 2026 Amodal Labs, Inc.
 * SPDX-License-Identifier: MIT
 */
import type { StudioDeploy, StudioDeployListResponse, StudioDeploySettings } from "./types.js";
export interface DeployBackend {
    listDeploys(req: Request, options?: {
        selectedDeployId?: string;
    }): Promise<StudioDeployListResponse>;
    selectDeploy(req: Request, deployId: string): Promise<StudioDeploy>;
    promoteDeploy(req: Request, deployId: string): Promise<StudioDeploy>;
    deleteDeploy?(req: Request, deployId: string): Promise<void>;
    startDeploy?(req: Request, deployId: string): Promise<StudioDeploy>;
    stopDeploy?(req: Request, deployId: string): Promise<StudioDeploy>;
    getDeploySettings?(req: Request): Promise<StudioDeploySettings>;
    updateDeploySettings?(req: Request, settings: StudioDeploySettings): Promise<StudioDeploySettings>;
}
export declare function readDeploySettings(): Promise<StudioDeploySettings>;
export declare function recordLocalProposalDeploy(deploy: StudioDeploy, options?: {
    promote?: boolean;
    startRuntime?: boolean;
}): Promise<StudioDeploy>;
export declare function resolveLocalDeployRuntime(deployId?: string): Promise<StudioDeploy>;
export declare function setDeployBackend(backend: DeployBackend): void;
export declare function getDeployBackend(): DeployBackend;
