/** * Name of the keyword tokenizer, recorded with every keyword index. Change it * whenever `tokenize` output changes, so existing keyword indexes are rebuilt. */ export declare const TOKENIZER_NAME = "raglite-v1"; /** * Splits text into keyword search terms. Must produce exactly the same terms * as the Python SDK; the shared fixtures in tests/fixtures/shared check this. * * 1. NFKC normalisation, then lowercase. * 2. Runs of letters, digits and combining marks are words. `_`, `-` and `.` * between word characters join them into one term (`gpt-4.1`, `err_42`), * and the joined parts are emitted as terms too. * 3. Han, kana, Hangul, Thai, Lao, Khmer and Myanmar runs are emitted as * overlapping character bigrams, or a unigram for a single character. * This needs no dictionary and behaves the same in both SDKs. */ export declare function tokenize(text: string): string[];