import type { IncomingMessage, ServerResponse } from "node:http"; export declare function escapeHtml(value: string): string; export declare function requestBaseUrl(req: IncomingMessage): string; export declare function readJsonBody(req: IncomingMessage, res: ServerResponse, maxBytes: number): Promise | null>; export declare function jsonResponse(res: ServerResponse, status: number, body: unknown): void; export declare function readRawBody(req: IncomingMessage, res: ServerResponse, maxBytes: number): Promise; import type { PortalShellOptions } from "../../types.js"; export declare function renderPortalShell(options: PortalShellOptions): string; //# sourceMappingURL=portal-shell.d.ts.map