import type { ExtractorOptions } from '../pipeline/index.js'; import type { EmbeddingProvider, LLMJudgeProvider } from '../conflict/index.js'; /** @deprecated Use EmbeddingBackendConfig instead */ export type EmbeddingConfig = EmbeddingBackendConfig; export interface EmbeddingBackendConfig { provider: 'ollama' | 'openai-compatible' | 'local'; baseUrl?: string; model?: string; apiKey?: string; dimensions?: number; } export interface ValueGateThresholds { /** Threshold for privacy dimension (0-1, default 0.7) */ privacy?: number; /** Threshold for scenarioSpecificity dimension (0-1, default 0.7) */ scenarioSpecificity?: number; /** Threshold for llmBlindSpot dimension (0-1, default 0.7) */ llmBlindSpot?: number; } export interface ValueGateConfig { /** Dimension score thresholds — any dimension exceeding its threshold * promotes the entry to high-value regardless of LLM category */ thresholds?: ValueGateThresholds; } export interface ExtractionPipelineConfig { /** Semantic dedup configuration */ dedup?: { /** Cosine similarity threshold for semantic dedup (default 0.92) */ threshold?: number; }; } export interface KivoConfig { dbPath: string; mode?: 'standalone' | 'hosted'; embeddingProvider?: EmbeddingProvider; llmProvider?: LLMJudgeProvider; pipelineOptions?: { extractor?: ExtractorOptions; }; conflictThreshold?: number; embedding?: EmbeddingBackendConfig; valueGate?: ValueGateConfig; extraction?: ExtractionPipelineConfig; } export declare const DEFAULT_VALUE_GATE_THRESHOLDS: Required; export declare const DEFAULT_CONFIG: Partial; export declare function mergeConfig(userConfig: KivoConfig): KivoConfig; //# sourceMappingURL=types.d.ts.map