/** * Configuration system for loclaude * * Priority (highest to lowest): * 1. CLI arguments * 2. Environment variables * 3. Project config (./.loclaude/config.json) * 4. User config (~/.config/loclaude/config.json) * 5. Default values */ export interface OllamaConfig { url: string; defaultModel: string; } export interface ModelsConfig { path: string; } export interface DockerConfig { composeFile: string; gpu: boolean; } export interface ClaudeConfig { extraArgs: string[]; } export interface LoclaudeConfig { ollama: OllamaConfig; models: ModelsConfig; docker: DockerConfig; claude: ClaudeConfig; } export interface LoclaudeConfigPartial { ollama?: Partial; models?: Partial; docker?: Partial; claude?: Partial; } /** * Load the full configuration * * Merges (in order of priority): * 1. Environment variables * 2. Project config file * 3. User config file * 4. Defaults */ export declare function loadConfig(): LoclaudeConfig; /** * Clear the config cache (useful for testing) */ export declare function clearConfigCache(): void; /** * Get the path to the active config file (if any) */ export declare function getActiveConfigPath(): string | null; /** * Get all config paths that are checked */ export declare function getConfigSearchPaths(): string[]; /** * Get Ollama URL from config */ export declare function getOllamaUrl(): string; /** * Get default model from config */ export declare function getDefaultModel(): string; /** * Get docker compose file path from config */ export declare function getComposeFile(): string; /** * Check if GPU is enabled in config */ export declare function isGpuEnabled(): boolean; /** * Get extra Claude args from config */ export declare function getClaudeExtraArgs(): string[]; /** * Get the models storage path from config */ export declare function getModelsPath(): string; //# sourceMappingURL=config.d.ts.map