import type { Change, EmitResult, Dialect, SchemaSnapshot, SnapshotMeta } from "../types.js"; export interface EmitOptions { dialect: Dialect; /** * Required when dialect="sqlite" AND any change triggers recreate-and-copy * (change-column-type, change-column-nullable, change-column-default, add-fk, drop-fk). * Used to look up the post-migration table descriptor for the recreate recipe. */ expectedSchema?: SchemaSnapshot; /** * Per spec §7.4: if SQLite version < 3.35 (DROP COLUMN) or < 3.25 (RENAME COLUMN), * fall back to recreate-and-copy. Unknown/absent version → assume modern. */ actualMeta?: SnapshotMeta; /** Used by the d1 cascade emitter to build the actual∪expected FK graph. */ actualSchema?: SchemaSnapshot; } export declare function emit(changes: Change[], opts: EmitOptions): EmitResult; //# sourceMappingURL=index.d.ts.map