import { HttpContext, HttpHandler, HttpNext } from '@flexent/http-server'; /** * 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; CORS_ALLOWED_ORIGINS: string; private get allowedOrigins(); handle(ctx: HttpContext, next: HttpNext): Promise; }