import type http from "node:http"; import type { SessionRouteContext } from "./route-context.js"; /** * The restored worker rows for one delegation call, as the transcript shows * them on reopen (`resultIsError`: null when no result was saved). Async * workers are intentionally non-resumable; restored rows are historical. */ export declare function restoredWorkerRows(call: { readonly name: string; readonly args: Record; }, resultIsError: boolean | null): Array<{ agentName: string | undefined; status: "done" | "error"; toolUseCount: number; }>; export declare function handleHistoryRoutes(ctx: SessionRouteContext, req: http.IncomingMessage, res: http.ServerResponse, url: string, method: string): boolean;