import type { BootstrapCommand } from "./bootstrap-config.js"; export type RuntimeMode = "development" | "production" | "test"; export type ConfigProfileSource = "cli" | "env" | "legacy-node-env" | "default"; export interface ResolvedConfigProfile { profile: string; source: ConfigProfileSource; warning?: string; } export interface ResolveConfigProfileOptions { cliProfile?: string; env?: NodeJS.ProcessEnv; command?: BootstrapCommand; displayCommand?: string; defaultProfile?: string; } export declare function isStandardRuntimeMode(value: string | undefined): value is RuntimeMode; export declare function getDefaultRuntimeMode(command?: BootstrapCommand): RuntimeMode; export declare function getDefaultConfigProfile(command?: BootstrapCommand): string; export declare function validateConfigProfileName(value: string, label?: string): string; export declare function formatLegacyConfigProfileWarning(profile: string, command?: string): string; export declare function resolveConfigProfile(options?: ResolveConfigProfileOptions): ResolvedConfigProfile; export declare function printConfigProfileWarning(resolved: ResolvedConfigProfile, write?: (message: string) => void): void;