export declare const CLUSTER_BOOTSTRAP_PATCH_ENV = "VEXT_CLUSTER_BOOTSTRAP_PATCH";
export type BootstrapCommand = "start" | "dev" | "test";
export interface BootstrapConfigContext {
    rootDir: string;
    configDir: string;
    env: string;
    command: BootstrapCommand;
    isBuilt: boolean;
    baseConfig: Readonly<Record<string, unknown>>;
    signal: AbortSignal;
}
export interface BootstrapConfigProvider {
    name: string;
    timeoutMs?: number;
    required?: boolean;
    load(ctx: BootstrapConfigContext): Promise<Record<string, unknown> | null> | Record<string, unknown> | null;
}
export interface BootstrapConfigDefinition {
    providers: BootstrapConfigProvider[];
}
export interface LoadBootstrapConfigOptions {
    rootDir: string;
    configDir: string;
    env: string;
    command: BootstrapCommand;
    isBuilt: boolean;
    baseConfig: Readonly<Record<string, unknown>>;
    processEnv?: NodeJS.ProcessEnv;
}
export declare function defineBootstrapConfig(definition: BootstrapConfigDefinition): BootstrapConfigDefinition;
export declare function loadBootstrapConfigPatch(options: LoadBootstrapConfigOptions): Promise<Record<string, unknown>>;
