/** * MAMA Configuration Loader * * Story M1.4: Configurable embedding model selection * Priority: P1 (Core Feature) * * Loads user configuration from ~/.mama/config.json with sensible defaults. * Supports: * - Model selection (default: multilingual-e5-large) * - Embedding dimensions * - Cache directory configuration * * @module config-loader */ export interface MAMAConfig { configVersion: number; modelName: string; embeddingDim: number; quantized: boolean; cacheDir: string; [key: string]: unknown; } export declare const DEFAULT_CONFIG: MAMAConfig; /** * Load MAMA configuration from ~/.mama/config.json * * Story M1.4 AC #1: Config parser loads ~/.mama/config.json * * @param reload - Force reload from disk (default: false) * @returns Configuration object with modelName, embeddingDim, cacheDir */ export declare function loadConfig(reload?: boolean): MAMAConfig; /** * Get current model name */ export declare function getModelName(): string; /** * Get current embedding dimension */ export declare function getEmbeddingDim(): number; /** * Get whether to use quantized model */ export declare function getQuantized(): boolean; /** * Get current cache directory */ export declare function getCacheDir(): string; export interface ConfigUpdates { modelName?: string; embeddingDim?: number; quantized?: boolean; cacheDir?: string; } /** * Update configuration and save to file * * Story M1.4 AC #3: Changing model via config triggers informative log + resets caches * * @param updates - Configuration updates * @returns Success status */ export declare function updateConfig(updates: ConfigUpdates): boolean; /** * Get config file path */ export declare function getConfigPath(): string; //# sourceMappingURL=config-loader.d.ts.map