export interface Migration { id: string; sql: string; } export interface MigrationExecutor { getAppliedMigrationIds(): Promise; execute(sql: string): Promise; recordMigration(id: string): Promise; } export interface MigrationRunResult { appliedMigrationIds: readonly string[]; skippedMigrationIds: readonly string[]; } export declare const MIGRATIONS: readonly Migration[]; export declare function getPendingMigrations(appliedMigrationIds: readonly string[], migrations?: readonly Migration[]): readonly Migration[]; export declare function runMigrations(executor: MigrationExecutor, migrations?: readonly Migration[]): Promise; //# sourceMappingURL=migrate.d.ts.map