import type { Kysely } from 'kysely'; import type { SchemaRegistry } from '../schema/registry.js'; import type { DdlOperation } from './types.js'; export interface AutoSyncOptions { allowDestructive?: boolean; } export interface AutoSyncResult { applied: DdlOperation[]; warnings: DdlOperation[]; } /** * Compares the desired schema (from the registry) against the actual database state * and applies any DDL operations needed to bring the database in sync. */ export declare function autoSync(registry: SchemaRegistry, db: Kysely, options?: AutoSyncOptions): Promise; //# sourceMappingURL=auto-sync.d.ts.map