import { type Sequelize } from 'sequelize';
import type { Migration } from 'umzug';
import type { PreMigrationDbSnapshot } from './gatherPreMigrationDbSnapshot';
export type MigrationLogStats = {
    /** Duration (ms) per migration file in this batch. */
    durationMsPerMigration: Record<string, number>;
    /** Total ms spent inside migration scripts in this batch (sum of durationMsPerMigration). */
    totalMigrationsDurationMs: number;
    /** Snapshot of the database before the migration batch was applied. */
    preSnapshot?: PreMigrationDbSnapshot;
};
export type CreateMigrationAuditLogOptions = {
    batchDurationMs?: number;
    upgradeRunId?: string;
    stats?: MigrationLogStats;
};
export declare const createMigrationAuditLog: (sequelize: Sequelize, migrations: Migration[], direction: "up" | "down", options?: CreateMigrationAuditLogOptions) => Promise<void>;
//# sourceMappingURL=createMigrationAuditLog.d.ts.map