/** * Cold-storage backup endpoints. Dump returns the entire PGlite data * directory as a gzipped tarball; restore accepts one and queues a * machine reboot (Fly's restart policy brings it back up and the boot * path picks up the marker). * * - POST /api/admin/backup/dump — returns gzipped PGlite data dir * - POST /api/admin/backup/restore — queues restore + exits process */ import type { IncomingMessage, ServerResponse } from "node:http"; import type { RouteContext } from "../route-context.js"; export declare function handle(req: IncomingMessage, res: ServerResponse, ctx: RouteContext): Promise; //# sourceMappingURL=admin-backup.d.ts.map