import { InvocationRequest, InvocationResponse } from '@aws-sdk/client-lambda'; import { HandlerRequest } from '../../types'; import { AxiosError, AxiosResponse, InternalAxiosRequestConfig } from 'axios'; export declare const isAxiosError: (err: any) => err is AxiosError; export declare const isAlphaRequestError: (err: any) => err is RequestError; export declare class RequestError extends Error implements Omit { config: InternalAxiosRequestConfig; request: InvocationRequest | HandlerRequest; response?: AxiosResponse | InvocationResponse | undefined; code?: string; isLambdaInvokeTimeout?: boolean; isAlphaRequestError: boolean; constructor(message: string, config: InternalAxiosRequestConfig, request: InvocationRequest | HandlerRequest, response?: AxiosResponse | InvocationResponse | undefined); }