import type { MemoryRecord } from "@oscharko-dev/keiko-contracts/memory";
export declare function tokenize(text: string): readonly string[];
/**
 * Jaccard similarity between the query token set and the record token set (body + tags).
 * Returns 0 for empty/undefined queries; returns 1 when the two sets are equal.
 */
export declare function lexicalRelevance(queryText: string | undefined, record: MemoryRecord): number;
//# sourceMappingURL=relevance.d.ts.map