import type { Change, EmitResult, IndexDescriptor, TableDescriptor, SchemaSnapshot, SnapshotMeta, ViewDescriptor } from "../types.js"; export interface CarryColumns { insertCols: string[]; selectCols: string[]; } export declare function renderSqlite(changes: readonly Change[], expectedSchema?: SchemaSnapshot, actualMeta?: SnapshotMeta): EmitResult; /** The table a change targets, or undefined for view-scoped changes. Exported for the D1 FK-cascade emitter (read-only). */ export declare function changeTable(c: Change): string | undefined; /** newTable columns not newly-added, mapped to their old-name SELECT source (for renames). */ export declare function computeCarryColumns(tableChanges: Change[], newTable: TableDescriptor): CarryColumns; export declare function renderCreateView(v: ViewDescriptor): string; export declare function renderCreateTable(t: TableDescriptor): string; export declare function renderCreateIndex(table: string, ix: IndexDescriptor): string; /** SQLite identifier quoter (`"id"`). Exported for the D1 FK-cascade emitter (read-only). */ export declare function quote(ident: string): string; //# sourceMappingURL=sqlite.d.ts.map