import type { EmbedderConfig } from '../types/index.js'; export declare class LocalEmbedder { private config; constructor(config?: Partial); get dimensions(): number; get model(): string; /** * Generate embeddings for an array of texts. * Processes in batches to avoid overwhelming the embedding server. */ embed(texts: string[]): Promise; /** * Generate a single embedding vector for one text. */ embedOne(text: string): Promise; private embedViaOllama; private embedViaLlamaCpp; /** * Check if the embedding provider is available and the model is loaded. */ isAvailable(): Promise; /** * Pull the embedding model if not already present (Ollama only). */ ensureModel(): Promise; } /** * Compute cosine similarity between two vectors. * Used as fallback when sqlite-vec is not available. */ export declare function cosineSimilarity(a: number[], b: number[]): number; //# sourceMappingURL=embedder.d.ts.map