import type { TFunction } from 'i18next';
import type { ReactNode } from 'react';
export declare enum PendingQuoteMessage {
    PREPARING = 0,
    VERIFYING_PROVIDER = 1,
    ESTIMATING_GAS = 2,
    FINALIZING = 3
}
export declare const getPendingQuoteMessageGenerator: (t: TFunction) => {
    0: () => string;
    1: (provider: string) => string;
    2: () => string;
    3: () => string;
};
export declare const getQuoteApiErrorDisplayInfo: (t: TFunction) => {
    0: {
        check: string;
        display: ReactNode;
    };
    1: {
        check: string;
        display: ReactNode;
    };
    6: {
        check: string;
        display: string;
    };
    2: {
        check: string;
        display: string;
    };
    3: {
        check: string;
        display: string;
    };
    4: {
        check: string;
        display: string;
    };
    5: {
        check: string;
        display: string;
    };
};
export declare enum QuoteCustomErrorType {
    INSUFFICIENT_BALANCE_PRE_CHECK = 0,
    INSUFFICIENT_TOKEN_BALANCE_PRE_CHECK = 1,
    INSUFFICIENT_BALANCE_POST_CHECK = 2,
    INSUFFICIENT_AMOUNT_POST_CHECK = 3
}
export declare const getQuoteCustomErrorDisplayInfo: (t: TFunction) => {
    0: {
        check: string;
        display: string;
    };
    1: {
        check: string;
        display: string;
    };
    2: {
        check: string;
        display: string;
    };
    3: {
        check: string;
        display: string;
    };
};
export declare function generateQuoteApiErrorForDisplay(err: Error, t: TFunction): ReactNode;
