import type { Context } from '../context.js'; export interface CorsOptions { origin?: string | string[] | ((origin: string) => boolean); methods?: string[]; headers?: string[]; credentials?: boolean; maxAge?: number; contentSecurityPolicy?: string; xFrameOptions?: 'DENY' | 'SAMEORIGIN' | 'ALLOW-FROM'; xContentTypeOptions?: boolean; referrerPolicy?: string; permissionsPolicy?: string; } export declare function cors(options?: CorsOptions): (ctx: Context, next: () => Promise) => Promise; //# sourceMappingURL=cors.d.ts.map