declare const MIGRATION_LOCK_KEY = 42424242; type LockableDatabase = { unsafe(query: string, params?: readonly unknown[]): Promise; }; declare function withMigrationLock(db: LockableDatabase, callback: () => Promise, lockKey?: number): Promise; export { MIGRATION_LOCK_KEY, withMigrationLock };