import HttpMethod from './enums/HttpMethod'; import BodyParser from './bodyParsers/BodyParser'; import APIGatewayProxyEvent from './APIGatewayProxyEvent'; import APIGatewayEventRequestContext from './APIGatewayEventRequestContext'; declare type KeyValue = { [key: string]: string; }; declare type KeyValueArray = { [key: string]: Array; }; export default class Request { private _event; private _bodyParser; private _body; private _scope; private _user; constructor(_event: APIGatewayProxyEvent, _bodyParser: BodyParser); set user(user: UserType); get isAuthenticated(): boolean; get user(): UserType; get scope(): ScopeType; get isApiGatewayInvoke(): RegExpMatchArray | null; get isLocalhostInvoke(): boolean; get fullUrl(): string; set body(body: BodyType); get body(): BodyType; set headers(headers: KeyValue); get headers(): KeyValue; getHeader(headerName: string): string | undefined; get contentType(): string | undefined; get multiValueHeaders(): KeyValueArray; get method(): HttpMethod; get isBase64Encoded(): boolean; get path(): string; set params(params: KeyValue); get params(): KeyValue; set query(query: KeyValue); get query(): KeyValue; get multiValueQueryStringParameters(): KeyValueArray; get stageVariables(): KeyValue; get requestContext(): APIGatewayEventRequestContext; get resource(): string; } export {};