import { PromiseHandler } from "@lambda-middleware/utils"; import { APIGatewayProxyEvent, APIGatewayProxyEventV2, APIGatewayProxyResult, APIGatewayProxyResultV2, Context } from "aws-lambda"; import { CorsMiddlewareOptions } from "./interfaces/CorsMiddlewareOptions"; export declare const cors: (options?: CorsMiddlewareOptions) => >(handler: PromiseHandler) => (event: Event_1, context: Context) => Promise;