import type { IncomingMessage as HttpRequest, ServerResponse } from "node:http"; import { type ParsedRoute } from "./route-helpers.js"; import { type TodoCaptureState } from "./todo-capture-stage.js"; import type { ApiContext } from "./api.js"; /** The wire shape. `captureId` is the shaping session's id: the session IS the * capture, so there is no second identifier to keep in step with it, and a * capture survives a restart exactly as long as its session does. */ export interface TodoCaptureWire extends TodoCaptureState { } export declare function handleTodoCaptureApi(req: HttpRequest, res: ServerResponse, route: ParsedRoute, context: ApiContext): Promise; //# sourceMappingURL=todo-capture-api.d.ts.map