export declare class Embedder { private static instances; private readonly twiningDir; private pipeline; private fallbackMode; private initPromise; constructor(twiningDir: string); /** Get or create a singleton instance for a given twiningDir. */ static getInstance(twiningDir: string): Embedder; /** Reset singleton instances (for testing). */ static resetInstances(): void; /** Generate a 384-dimensional embedding for the given text. Returns null if in fallback mode. */ embed(text: string): Promise; /** Generate embeddings for multiple texts. Returns null for any that fail. */ embedBatch(texts: string[]): Promise<(number[] | null)[]>; /** Whether the embedder has fallen back to keyword-only mode. */ isFallbackMode(): boolean; /** Whether the pipeline has been initialized (for testing). */ isInitialized(): boolean; /** Initialize the ONNX pipeline. Called lazily on first embed(). */ private initialize; private doInitialize; } //# sourceMappingURL=embedder.d.ts.map