import { Settings } from './types.js'; type ConfigSource = 'env' | 'user' | 'package'; /** * Load settings from JSON file with environment variable substitution. */ export declare function loadSettings(configPath?: string): Settings; /** * Save settings to JSON file. */ export declare function saveSettings(settings: Settings, configPath?: string): void; /** * Get the default config path. */ export declare function getDefaultConfigPath(): string; /** * Get the user config directory path. */ export declare function getUserConfigDir(): string; /** * Get the user config file path. */ export declare function getUserConfigPath(): string; /** * Initialize user config directory and create default settings if not exists. * Returns the path to the user config file. */ export declare function initUserConfig(): string; /** * Get all config paths for debugging. */ export declare function getConfigPaths(): { env?: string; user: string; package: string; active: string; source: ConfigSource; }; export {}; //# sourceMappingURL=loader.d.ts.map