/** * Destructive memory admin — export every row as JSONL, or wipe the * memories table. Used by pyre-web's danger-zone UI. Auth is already * verified by the dispatcher before this handler is reached. * * - GET /api/admin/memory/export — streams JSONL; ?embeddings=true&batchSize=N * - POST /api/admin/memory/wipe — drops every row */ 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-memory.d.ts.map