import type { HandlerOptions } from "../types";
import { OAuthApp } from "../../index";
import type { ClientType, Options } from "../../types";
import type { APIGatewayProxyEventV2, APIGatewayProxyStructuredResultV2 } from "aws-lambda";
export declare function createAWSLambdaAPIGatewayV2Handler(app: OAuthApp<Options<ClientType>>, { pathPrefix, onUnhandledRequest, }?: HandlerOptions & {
    onUnhandledRequest?: (event: APIGatewayProxyEventV2) => Promise<APIGatewayProxyStructuredResultV2>;
}): (event: APIGatewayProxyEventV2) => Promise<APIGatewayProxyStructuredResultV2>;
