import type { DbIntrospector, ColumnInfo, ForeignKeyInfo, EnumInfo } from '../db-introspector.js'; import type { SyncSqliteDatabase } from './sqlite-runtime.js'; export declare class SqliteIntrospector implements DbIntrospector { private readonly db; constructor(db: SyncSqliteDatabase); listTables(): Promise; getColumns(table: string): Promise; /** * SQLite has no native enums, but a `CHECK (col IN ('a','b',…))` constraint is * an enum by another name. Parse the table's stored `CREATE TABLE` DDL and map * each constrained column to its allowed values so codegen can type it as a * union. Only the positive `col IN (…)` form is recognised (the convention); * `NOT IN`, ranges, and boolean expressions are left as plain `string`. */ private parseCheckEnums; getForeignKeys(table: string): Promise; getAllColumns(): Promise>; getAllForeignKeys(): Promise>; listEnums(): Promise; close(): Promise; }