import { CorsOpts, Exodas } from '..'; import { ExoTimeRange } from '../accessories/ExoTime'; import { CorsMethods, CorsOrigin } from './accessories/ExoCorsOpts'; export declare class ExoCors { private exo; constructor(exo: Exodas); private prepareBasicOpts; private $enable; private opts?; enable(options?: CorsOpts): this; origin(origin: CorsOrigin): this; methods(methods: CorsMethods): this; allowedHeaders(allowed: string[]): this; exposedHeaders(exposed: string[]): this; credentials(credentials?: boolean): this; maxAge(age: ExoTimeRange): this; preflightContinue(preflight?: boolean): this; optionsSuccessStatus(status: number): this; }