import type { AxiosError } from 'axios';
import type { IconType } from 'consts';
import type { APIError, ButtonModuleInfoCode, Category, ErrorData, ModuleInfoCode } from './types';
export declare const createErrorData: (err: AxiosError<ErrorData<string>>) => ErrorData<ModuleInfoCode> | undefined;
export declare const createAPIError: (err: AxiosError<ErrorData<string>>) => APIError;
type ErrorScreenContent = {
    title: string;
    subtitle: string;
    iconResource: IconType | null;
    errorCode?: string;
    buttons?: ButtonModuleInfoCode[];
};
export declare const getErrorScreenContent: (error: APIError) => ErrorScreenContent;
export declare const handleError: (error: APIError, popupFunction: () => void, snackbarFunction: (value: Category) => void) => void | null;
export declare const getButtonsConvertedData: (buttons: ButtonModuleInfoCode[], closeFunc: () => void, linkDeepFunc: (value?: string) => void, navigationBackFunc: (value?: string) => void, dismissFunc?: () => void) => {
    text: string;
    onClick: (() => void) | null;
}[];
export {};
