import { LambdaContext, LambdaEvent } from '../core/lambda'; import { IAuthorizeObject } from './IAuthorizeObject'; export declare type IAuthorizationEnv = { signinOptions: ISigningOptions; }; export declare type IAuthorizer = (event: LambdaEvent, context: LambdaContext) => Promise>; export declare type IAuthorizerFactory = (context: IAuthorizationEnv) => IAuthorizer; export declare type IAuthorizerProvider = (gameId: string) => IAuthorizerFactory; export declare type ISigningOptions = { algorithms: string[]; issuer: string[]; clockTolerance: number; }; export declare type VersionStage = 'AWSCURRENT' | 'AWSPREVIOUS'; export declare type Effect = 'Allow' | 'Deny';