import type { RuntimeMode } from "./config-profile.js"; export declare const CLUSTER_BOOTSTRAP_PATCH_ENV = "VEXT_CLUSTER_BOOTSTRAP_PATCH"; export type BootstrapCommand = "start" | "dev" | "test" | "build"; export interface BootstrapConfigContext { rootDir: string; configDir: string; mode: RuntimeMode; configProfile: string; /** @deprecated Use ctx.mode for runtime mode or ctx.configProfile for profile names. */ env: string; command: BootstrapCommand; isBuilt: boolean; baseConfig: Readonly>; signal: AbortSignal; } export interface BootstrapConfigProvider { name: string; timeoutMs?: number; required?: boolean; load(ctx: BootstrapConfigContext): Promise | null> | Record | null; } export interface BootstrapConfigDefinition { providers: BootstrapConfigProvider[]; } export interface LoadBootstrapConfigOptions { rootDir: string; configDir: string; mode: RuntimeMode; configProfile: string; env?: string; command: BootstrapCommand; isBuilt: boolean; baseConfig: Readonly>; processEnv?: NodeJS.ProcessEnv; } export declare function defineBootstrapConfig(definition: BootstrapConfigDefinition): BootstrapConfigDefinition; export declare function loadBootstrapConfigPatch(options: LoadBootstrapConfigOptions): Promise>;