import { WidgetNetworkErrors } from '../types'; export declare type ApiException = { code: number; body: any; }; export declare const isApiError: (error: any) => error is ApiException; export declare const getNetworkStatus: (error: any) => number | undefined; export declare const isNotAuthorized: (error: any) => boolean; export declare const isNotFound: (error: any) => boolean; export declare const isUnprocessableEntity: (error: any) => boolean; export declare const getNetworkErrorsDescriptor: (error: any) => WidgetNetworkErrors; //# sourceMappingURL=error.d.ts.map