export declare const compareLexical: (left: string, right: string) => number; /** Canonical Unicode-aware lexical tokens with no semantic classification. */ export declare const tokenizeLexical: (text: string) => string[]; export declare const normalizeMemoryPhrase: (text: string) => string; export declare const lexicalTermCounts: (text: string) => Map; export type MemoryQueryMode = "literal" | "phrase" | "regex"; export type MemoryQueryMatch = "all" | "any"; export type MemoryQueryPlan = { kind: "browse"; } | { kind: "terms"; terms: string[]; match: MemoryQueryMatch; } | { kind: "phrase"; phrase: string; terms: string[]; } | { kind: "regex"; pattern: string; }; /** Plan only the explicitly selected query mode. Literal input is never compiled as regex. */ export declare const planMemoryQuery: (query: string | undefined, queryMode?: MemoryQueryMode, queryMatch?: MemoryQueryMatch) => MemoryQueryPlan; //# sourceMappingURL=tokenize.d.ts.map