import { AxiosError } from 'axios';
import { ApiGatewayResult, DfnsError } from '../types';
export declare const isDfnsError: (error: any) => error is DfnsError;
export declare const buildResponseFromDfnsError: (error: DfnsError, includeStackTrace: boolean) => ApiGatewayResult;
export declare const isAxiosError: (error: any) => error is AxiosError<unknown, any>;
export declare const buildAxiosError: (error: AxiosError, includeStackTrace: boolean) => ApiGatewayResult;
