import { AdapterContent, Enforcer, RequestContent } from '../Options'; import { SecurityAdapter } from './SecurityAdapter'; export declare type AwsEvent = { headers: any; authorizationToken?: string; }; export declare type AwsAuthorizationEvent = { authorizationToken: string; }; export interface ApigatewayAdapter { validate(awsEvent: AwsEvent | AwsAuthorizationEvent, enforcer?: Enforcer): Promise; } export declare class DefaultApigatewayAdapter implements ApigatewayAdapter { constructor(options: AdapterContent); options: AdapterContent; securityAdapter: SecurityAdapter; getAuthHeader(awsEvent: AwsEvent): any; getTokenString(awsEvent: AwsEvent | AwsAuthorizationEvent): any; validate(awsEvent: AwsEvent | AwsAuthorizationEvent, enforcer?: Enforcer): Promise; } //# sourceMappingURL=ApigatewayAdapter.d.ts.map