export interface CognitoAuthenticationOptions { logger: any; region: string; userPoolId: string; } declare const cognitoAuthentication: ({ logger, region, userPoolId, }: CognitoAuthenticationOptions) => (req: any, res: any, next: () => void) => Promise; export default cognitoAuthentication;