import type { CloudProvider } from "../providers/base.js";
import type { DeploymentConfig, ServerMode } from "../types/index.js";
export declare const BACK_SIGNAL = "__BACK__";
export declare function getProviderConfig(): Promise<{
    provider: string;
}>;
export declare function getDeploymentConfig(provider: CloudProvider): Promise<DeploymentConfig>;
export declare function getLocationConfig(provider: CloudProvider, exclude?: string[]): Promise<string>;
export declare function getServerTypeConfig(provider: CloudProvider, location: string, exclude?: string[], mode?: ServerMode): Promise<string>;
export declare function getServerNameConfig(mode?: string): Promise<string>;
export declare function confirmDeployment(config: DeploymentConfig, provider: CloudProvider): Promise<boolean | string>;
type ConfirmFn = (opts: {
    message: string;
    default: boolean;
}) => Promise<boolean>;
export declare function confirmOrCancel(message: string, force: boolean, cancelMessage?: string, confirmFn?: ConfirmFn): Promise<boolean>;
export {};
//# sourceMappingURL=prompts.d.ts.map