/** * Zoe CLI — Config Loader * * Re-exports core config utilities and adds CLI-specific chalk output. */ import type { AppConfig } from '../../core/config.js'; import { applyEnvOverrides, getConfigPath, getConfigDir, getConfigPaths, migrateLegacyFormat, resolveActiveProviderType, maskSecret } from '../../core/config.js'; export { AppConfig, applyEnvOverrides, getConfigPath, getConfigDir, getConfigPaths, migrateLegacyFormat, resolveActiveProviderType, maskSecret, }; /** * Load and parse a JSON config file, returning {} on failure. * Logs parse warnings to console with chalk. */ export declare function loadJsonConfig(filePath: string): AppConfig; /** * Load global and local configs and merge them. * Priority: local > global. */ export declare function loadMergedConfig(): AppConfig; /** * Save config to disk. If a local config exists, saves there; otherwise global. */ export declare function saveConfig(config: AppConfig): void; /** * Save config to a specific path. * Logs errors to console with chalk. */ export declare function writeConfigToPath(config: AppConfig, targetFile: string): void;