import * as yup from 'yup'; export interface ValidationObjects { queryStringParameters?: yup.SchemaOf; payload?: yup.SchemaOf; pathParameters?: yup.SchemaOf; } export interface ValidationResult { isValid: boolean; queryStringParametersErrors?: yup.ValidationError; payloadErrors?: yup.ValidationError; pathParametersErrors?: yup.ValidationError; message?: string; } export declare type YupShapeByInterface = { [K in keyof T]: any; }; export interface RequestI { validationResult: ValidationResult; queryStringParameters: Q; payload: P; pathParameters: PP; session?: any; headers?: { [name: string]: string; }; }