import { type ServerType } from "@hono/node-server";
import { type PostgresRuntime } from "@awp/persistence";
export interface RunningControlPlane {
    readonly port: number;
    readonly runtime: PostgresRuntime;
    readonly server: ServerType;
    close(): Promise<void>;
}
interface SelfProjectBootstrap {
    readonly repositoryUrl: string;
    readonly visionFile: string;
    readonly requiredChecks?: readonly string[];
}
export declare function startControlPlane(input: {
    readonly databaseUrl: string;
    readonly port?: number;
    readonly host?: string;
    readonly migrationsFolder?: string;
    readonly selfProject?: SelfProjectBootstrap;
    readonly operatorPasswordHash?: string;
}): Promise<RunningControlPlane>;
export {};
//# sourceMappingURL=server.d.ts.map