import type { Hono } from 'hono'; import type { ICORSOptions } from './common/index.js'; /** * Installs `configs.middlewares.cors` on the server when it is set and not disabled; with no config * nothing is installed. Called first in the default stack, so every response the framework produces * on its own - a bodyLimit 413, a body the request spy cannot parse, the error envelope - leaves * with the headers a browser needs to read it. */ export declare const registerCors: (opts: { server: Hono; options?: ICORSOptions; }) => void; //# sourceMappingURL=cors.d.ts.map