import type { Hono } from "hono"; /** A page cannot forge Host, so a site that rebinds its own name to 127.0.0.1 is refused here. */ export declare function isOwnLoopbackHost(host: string | undefined, port: number): boolean; /** The runtime hands an editing port to its parent frame, so another site must not frame these pages. */ export declare const SAME_ORIGIN_FRAMING_HEADERS: { readonly "Content-Security-Policy": "frame-ancestors 'self'"; readonly "X-Frame-Options": "SAMEORIGIN"; }; export declare function answerOwnLoopbackHostOnly(app: Hono, boundPort: () => number): void;