import type { CloudProvider } from "../providers/base.js";
import type { ServerRecord } from "../types/index.js";
export interface ProvisionConfig {
    provider: string;
    region?: string;
    size?: string;
    name: string;
    template?: string;
    /** @deprecated Use platform field. Accepts "coolify", "dokploy", or "bare" for backward compat. */
    mode?: string;
}
export interface ProvisionResult {
    success: boolean;
    server?: ServerRecord;
    error?: string;
    hint?: string;
}
export declare function uploadSshKeyBestEffort(provider: CloudProvider): Promise<string[]>;
export declare function provisionServer(config: ProvisionConfig): Promise<ProvisionResult>;
//# sourceMappingURL=provision.d.ts.map