import type { Try } from '@skyleague/axioms'; import type { APIGatewayProxyResult, APIGatewayProxyResultV2 } from 'aws-lambda'; import type { APIGatewayProxyEventV2Schema } from '../../../aws/http.js'; import type { APIGatewayProxyEventSchema } from '../../../aws/rest.js'; import type { MaybeGenericParser } from '../../../parsers/types.js'; import type { LambdaContext } from '../../types.js'; import type { SecurityRequirements } from '../types.js'; import type { AuthorizerSchema, GatewayVersion, HTTPHandler, Responses } from './types.js'; export declare function handleHTTPEvent>(handler: HTTPHandler, event: APIGatewayProxyEventV2Schema | APIGatewayProxyEventSchema, context: LambdaContext): Promise>;