import type { IncomingMessage, ServerResponse } from 'node:http'; import type { HandoffNonces } from './handoff.js'; export interface StaticAuth { token: string; docKey: string; nonces: HandoffNonces; } export declare const SECURITY_HEADERS: Readonly>; export declare const TOKEN_PLACEHOLDER = "__AFK_WEB_TOKEN__"; export declare function serveStatic(req: IncomingMessage, res: ServerResponse, path: string, rawUrl: string, auth: StaticAuth): Promise;