import { HttpContext } from '../HttpContext.js'; import { HttpHandler, HttpNext } from '../HttpHandler.js'; /** * Sets Access-Control-* headers and responds to CORS preflight requests. * * Note: it should be bound to global scope because doesn't use request-scoped dependencies. */ export declare class HttpCorsHandler implements HttpHandler { CORS_EXPOSE_HEADERS: string; CORS_MAX_AGE: number; CORS_ALLOW_CREDENTIALS: boolean; handle(ctx: HttpContext, next: HttpNext): Promise; }