export declare const dbUrl: string; export type GeneratedMigration = { name: string; sql: string; timestamp: number; }; export type DrizzleMigrationExecutor = { dialect: { migrate(migrations: ReturnType, session: unknown): void; }; session: unknown; }; export declare function buildDrizzleMigrations(migrations: GeneratedMigration[]): { sql: string[]; folderMillis: number; hash: string; bps: boolean; name: string; }[]; export declare function runEmbeddedMigrations(db: DrizzleMigrationExecutor, migrations: GeneratedMigration[]): void; export declare function ensureDbDir(url: string): Promise; /** Read replicas must never migrate or change SQLite journal mode on startup. */ export declare const defaultDatabaseOptions: { readonly readonly: boolean; readonly journalMode: "delete" | "wal"; }; export type DatabaseOptions = { readonly?: boolean; journalMode?: "wal" | "delete"; };