/** Pure helpers every long-term store shares: filtering, indexed text, and similarity. */ /** Exact match on dot-path fields, so a filter reads like the shape of the value it selects. */ export declare function matches(value: unknown, filter: Record | undefined): boolean; export declare function readPath(value: unknown, path: string): unknown; /** The text an item is indexed by: chosen fields, or every string in the value. */ export declare function textOf(value: unknown, fields: readonly string[] | undefined): string; /** Cosine similarity of two vectors, from -1 to 1. Zero-length vectors score 0. */ export declare function cosine(a: readonly number[], b: readonly number[]): number;