import type http from "node:http"; import { type ShellRunEnd } from "./shell-runs.js"; import type { SessionRouteContext } from "./route-context.js"; /** Saved with the session so a reopened window shows the same row. */ export declare function shellMarkerData(run: ShellRunEnd): Record; /** A finished user command: hand it to the agent's next message, save it, tell the window. */ export declare function finishShellRun(ctx: SessionRouteContext, run: ShellRunEnd): void; /** * `!cmd` from the app's input. A command runs only when the user confirmed * this one, or has said this project may run their commands without asking. */ export declare function handleShellRoutes(ctx: SessionRouteContext, req: http.IncomingMessage, res: http.ServerResponse, url: string, method: string): boolean;