import { Chain } from "../../lib/caip2.js"; import { BaseError } from "@defuse-protocol/internal-utils"; //#region src/bridges/omni-bridge/error.d.ts type TokenNotFoundInDestinationChainErrorType = TokenNotFoundInDestinationChainError & { name: "TokenNotFoundInDestinationChainError"; }; declare class TokenNotFoundInDestinationChainError extends BaseError { token: string; destinationChain: Chain; constructor(token: string, destinationChain: Chain); } type InvalidFeeValueErrorType = InvalidFeeValueError & { name: "InvalidFeeValueError"; }; declare class InvalidFeeValueError extends BaseError { token: string; constructor(token: string, value: unknown); } type IntentsNearOmniAvailableBalanceTooLowErrorType = IntentsNearOmniAvailableBalanceTooLowError & { name: "IntentsNearOmniAvailableBalanceTooLowError"; }; declare class IntentsNearOmniAvailableBalanceTooLowError extends BaseError { balance: string; constructor(balance: string); } type OmniWithdrawalApiFeeRequestTimeoutErrorType = OmniWithdrawalApiFeeRequestTimeoutError & { name: "OmniWithdrawalApiFeeRequestTimeoutError"; }; declare class OmniWithdrawalApiFeeRequestTimeoutError extends BaseError { constructor(); } type InsufficientUtxoForOmniBridgeWithdrawalErrorType = InsufficientUtxoForOmniBridgeWithdrawalError & { name: "InsufficientUtxoForOmniBridgeWithdrawalError"; }; declare class InsufficientUtxoForOmniBridgeWithdrawalError extends BaseError { destinationChain: Chain; constructor(destinationChain: Chain); } type TokenNotLinkedToHyperCoreErrorType = TokenNotLinkedToHyperCoreError & { name: "TokenNotLinkedToHyperCoreError"; }; declare class TokenNotLinkedToHyperCoreError extends BaseError { token: string; evmTokenAddress: string; constructor(token: string, evmTokenAddress: string); } //#endregion export { InsufficientUtxoForOmniBridgeWithdrawalError, InsufficientUtxoForOmniBridgeWithdrawalErrorType, IntentsNearOmniAvailableBalanceTooLowError, IntentsNearOmniAvailableBalanceTooLowErrorType, InvalidFeeValueError, InvalidFeeValueErrorType, OmniWithdrawalApiFeeRequestTimeoutError, OmniWithdrawalApiFeeRequestTimeoutErrorType, TokenNotFoundInDestinationChainError, TokenNotFoundInDestinationChainErrorType, TokenNotLinkedToHyperCoreError, TokenNotLinkedToHyperCoreErrorType };