/** * mockEmbedder — deterministic character-frequency embedder for tests. * * Produces a vector of length `dimensions` (default 32) where each * coordinate is the count of characters whose code-point modulo * `dimensions` lands on that index. Same text → same vector always, * and texts that share characters have elevated cosine similarity. * * This is good enough for testing pipeline plumbing and basic * retrieval semantics (e.g. "dogs" retrieves beats mentioning "dog" * over beats mentioning "car"). It is NOT a real embedder — do not * use for anything consumer-facing. */ import type { Embedder } from './types.js'; export interface MockEmbedderOptions { readonly dimensions?: number; } /** * Build a deterministic mock embedder. Same text always yields the * same vector; texts sharing characters share cosine similarity. */ export declare function mockEmbedder(options?: MockEmbedderOptions): Embedder; //# sourceMappingURL=mockEmbedder.d.ts.map