import type { OPSQLiteDatabase } from "./driver.js"; interface MigrationConfig { journal: { entries: { idx: number; when: number; tag: string; breakpoints: boolean; }[]; }; migrations: Record; } export declare function migrate>(db: OPSQLiteDatabase, config: MigrationConfig): Promise; interface State { success: boolean; error?: Error; } export declare const useMigrations: (db: OPSQLiteDatabase, migrations: { journal: { entries: { idx: number; when: number; tag: string; breakpoints: boolean; }[]; }; migrations: Record; }) => State; export {};