import { Next } from '../../../http/middleware';
import { Request } from '../../../http/request';
import { Response } from '../../../http/response';
import { MiddlewareInterface } from '../../../interfaces';
export declare class CORSMiddleware implements MiddlewareInterface {
    options: any;
    constructor(options: any);
    parseOptions(options: any): any;
    get origin(): any;
    get maxAge(): any;
    get credentials(): any;
    get allowMethods(): any;
    get allowHeaders(): any;
    resolve(request: Request, next: Next): Promise<Response>;
}
