import type { CliConfig, InstanceConfig } from "./types.js";
export declare function resolveConfigPath(env: NodeJS.ProcessEnv): string;
export declare function loadConfig(path: string): Promise<CliConfig>;
export declare function saveConfig(path: string, config: CliConfig): Promise<void>;
export declare function upsertInstance(config: CliConfig, name: string, instance: InstanceConfig): CliConfig;
//# sourceMappingURL=config.d.ts.map