import { APIGatewayEventRequestContextJWTAuthorizer, APIGatewayEventRequestContextLambdaAuthorizer, APIGatewayProxyCognitoAuthorizer } from 'aws-lambda'; import { ApiGatewayAuthorizerType } from './constants'; export type AuthorizerContext = AuthorizerType extends 'cognito' ? APIGatewayProxyCognitoAuthorizer : AuthorizerType extends 'jwt' ? APIGatewayEventRequestContextJWTAuthorizer : AuthorizerType extends 'lambda' ? APIGatewayEventRequestContextLambdaAuthorizer : undefined; //# sourceMappingURL=authorizerContext.d.ts.map