import type http from "node:http"; import type { SessionRouteContext } from "./route-context.js"; /** * What the app otherwise learns only from live events: a window that switches * back to a session (or reconnects) would show 0% context, no plan steps and * no queued messages until the next turn. */ export declare function resumeExtras(ctx: SessionRouteContext): { contextTokens: number; planProgress: { total: number; completed: number[]; }; runProgress: import("@kenkaiiii/gg-protocol").RunProgress | null; kenRunning: boolean; queued: { count: number; messages: { id: string; text: string; delivering?: true; }[]; }; }; export declare function handleSessionRoutes(ctx: SessionRouteContext, req: http.IncomingMessage, res: http.ServerResponse, url: string, method: string): boolean;