/** * SQLite schema definitions for build-time prerendering * Used by shared.ts during nuxi generate/build */ export declare const SCHEMA_VERSION = "v2.1.0"; /** * Allowed FTS5 tokenizer values. The configured value gets interpolated into the * `CREATE VIRTUAL TABLE … tokenize='…'` DDL, so we restrict it to a known-safe * set instead of escaping. Adding a new tokenizer requires extending this list. */ export declare const SUPPORTED_FTS_TOKENIZERS: readonly ["unicode61 remove_diacritics 2", "trigram"]; export type FtsTokenizer = typeof SUPPORTED_FTS_TOKENIZERS[number]; export declare const DEFAULT_FTS_TOKENIZER: FtsTokenizer; export declare function resolveFtsTokenizer(value: string | undefined): FtsTokenizer; export interface SchemaOptions { /** * FTS5 tokenizer to use. Defaults to `unicode61 remove_diacritics 2`. * Use `trigram` when CJK locales are present (unicode61 fails on whitespace-less scripts). */ ftsTokenizer?: string; } export declare function buildSchemaSql(opts?: SchemaOptions): string[]; export declare const DROP_TABLES_SQL: string[];