import type { GlobalConfig } from '../models/project'; /** * Resolve the effective config path at call time. * Checks primary dir first, then legacy fallback, then defaults to primary. * Replaced the former module-level DEFAULT_CONFIG_PATH const to avoid * capturing a stale path when the primary directory is created after import. */ export declare function getDefaultConfigPath(): string; /** * Load the global config from disk. * Creates the file with empty config if it doesn't exist. */ export declare function loadConfig(configPath?: string): GlobalConfig; /** * Save the global config to disk. * Creates parent directories if they don't exist. * Writes to the primary path regardless of where the config was loaded from. */ export declare function saveConfig(config: GlobalConfig, configPath?: string): void; /** * Update config with partial changes. */ export declare function updateConfig(updates: Partial, configPath?: string): GlobalConfig; //# sourceMappingURL=config.d.ts.map