/** * Copies a SQLite database with the online backup API. * * `copyFileSync` cannot do this job: registry.db runs in WAL mode, so a live * database keeps committed rows - and, after a fresh migration, the schema * itself - in the -wal sidecar. Copying the main file alone yields a database * that opens but is missing everything the WAL still holds. * * Returns the byte size of the copy. */ export declare function backupSqliteDatabase(source: string, destination: string, onStep?: () => void): Promise; //# sourceMappingURL=sqlite-backup.d.ts.map