import type { CkEthMinterDid } from "../../declarations";
export declare class DetailedError<T> extends Error {
    details: T | undefined;
    constructor({ msg, details }: {
        msg?: string;
        details?: T;
    });
}
export declare class MinterGenericError extends Error {
}
export declare class MinterError<T> extends DetailedError<T> {
}
export declare class MinterTemporaryUnavailableError extends MinterGenericError {
}
export declare class MinterInsufficientFundsError<T> extends MinterError<T> {
}
export declare class MinterInsufficientAllowanceError<T> extends MinterError<T> {
}
export declare class MinterAmountTooLowError<T> extends MinterError<T> {
}
export declare class MinterRecipientAddressBlockedError<T> extends MinterError<T> {
}
export declare class MinterTokenNotSupported<T> extends MinterError<T> {
}
export declare class LedgerGenericError extends Error {
}
export declare class LedgerError<T> extends DetailedError<T> {
}
export declare class LedgerWithdrawalError<T> extends LedgerError<T> {
}
export declare class LedgerTemporaryUnavailableError<T> extends LedgerError<T> {
}
export declare class LedgerInsufficientAllowanceError<T> extends LedgerError<T> {
}
export declare class LedgerAmountTooLowError<T> extends LedgerError<T> {
}
export declare class LedgerInsufficientFundsError<T> extends LedgerError<T> {
}
export declare const createWithdrawEthError: (Err: CkEthMinterDid.WithdrawalError) => MinterGenericError;
export declare const createWithdrawErc20Error: (Err: CkEthMinterDid.WithdrawErc20Error) => MinterGenericError;
