import { type SqliteCapabilities } from '../db/capabilities.js'; export interface InitOptions { databasePath?: string; migrationsDirectory?: string; } export interface InitHooks { readonly afterPreflight?: () => void | Promise; readonly afterPathReserved?: () => void | Promise; readonly afterWritableOpen?: () => void | Promise; readonly beforeCommit?: () => void; } export interface InitResult { databasePath: string; dataDirectory: string; applied: number[]; currentVersion: number; capabilities: SqliteCapabilities; } /** Initialize a fresh database, or validate this major version's existing history. */ export declare function initializeDatabase(options?: InitOptions, hooks?: InitHooks): Promise; //# sourceMappingURL=init.d.ts.map