/** * `X-ARCS-Token` gate for mutating API routes. * * Layered on top of (never instead of) the global loopback-only * `secureLocalRequest`: loopback proves the caller is on this machine, the * token proves it is a page this server itself served (see web-token.ts). * * Deny-by-default across `/api/*` rather than an allowlist of known paths: a * mutating route added later is gated the moment it is registered. Reads are * untouched: every GET/HEAD/OPTIONS passes straight through, so `/api/events` * and the whole read surface behave exactly as before. */ import type { MiddlewareHandler } from "hono"; export declare const requireWebToken: MiddlewareHandler; //# sourceMappingURL=web-auth.d.ts.map