import { ApiGatewayHandler, EventBridgeContract, EventBridgeHandler, EventBridgePayloadType, GenericApiGatewayContract, SQSContract, SQSHandler, SwarmionEventBridgeHandler, SwarmionLambdaSQSHandler, SwarmionSQSHandler } from '../contracts'; import { GetApiGatewayHandlerOptions } from '../contracts/apiGateway/features'; import { BodyType, CustomRequestContextType, HeadersType, InternalSwarmionApiGatewayHandler, OutputType, PathParametersType, QueryStringParametersType } from '../contracts/apiGateway/types'; import { ApiGatewayAuthorizerType, ApiGatewayIntegrationType } from '../contracts/apiGateway/types/constants'; import { GetEventBridgeHandlerOptions } from '../contracts/eventBridge/features'; import { GetSQSHandlerOptions, SqsMessageAttributesType, SqsMessageBodyType } from '../contracts/SQS/types'; /** * must match the type of getApiGatewayHandler */ export declare function getHandler, QueryStringParameters = QueryStringParametersType, Headers = HeadersType, CustomRequestContext = CustomRequestContextType, Body = BodyType, Output = OutputType>(contract: Contract, options: GetApiGatewayHandlerOptions): (handler: InternalSwarmionApiGatewayHandler) => ApiGatewayHandler; /** * must match the type of getEventBridgeHandler */ export declare function getHandler>(contract: Contract, options: GetEventBridgeHandlerOptions): (handler: SwarmionEventBridgeHandler) => EventBridgeHandler; /** * must match the type of getSQSHandler */ export declare function getHandler, MessageAttributes = SqsMessageAttributesType, HandleRecords extends boolean = true>(contract: Contract, options: GetSQSHandlerOptions): (handler: HandleRecords extends false ? SwarmionLambdaSQSHandler : SwarmionSQSHandler) => SQSHandler; //# sourceMappingURL=lambdaHandler.d.ts.map