export interface CliFileConfig { readonly baseUrl?: string; readonly token?: string; readonly requestTimeoutMs?: number; readonly tokens?: Record; } export interface CliEnvConfig { readonly CLIENT_BASE_URL?: string; readonly CLIENT_TOKEN?: string; readonly CLIENT_TIMEOUT_MS?: string; } export interface ResolvedCliConfig { readonly baseUrl: string; readonly token?: string; readonly requestTimeoutMs: number; } declare const CONFIG_PATH: string; export declare function loadConfig(env?: CliEnvConfig): Promise; export { CONFIG_PATH as CLI_CONFIG_PATH }; export declare function loadCliFileConfig(): Promise; export declare function saveCliFileConfig(config: CliFileConfig): Promise; export declare function upsertToken(config: CliFileConfig, server: string, token: string): CliFileConfig;