import type { IncomingMessage, ServerResponse } from 'node:http'; /** * Match-and-handle dispatcher. Returns `true` when the request was * served; `false` when the URL/method didn't match. */ export declare function handleViewerApi(req: IncomingMessage, res: ServerResponse, url: URL): Promise; export declare function handleViewerPage(res: ServerResponse, id: string): Promise; //# sourceMappingURL=viewer-api.d.ts.map