export declare const ApiErrorCodes: { readonly REQUEST_VALIDATION_ERROR: "REQUEST_VALIDATION_ERROR"; readonly VALIDATION_ERROR: "VALIDATION_ERROR"; readonly INVALID_INPUT: "INVALID_INPUT"; readonly INVALID_TIMESTAMP: "INVALID_TIMESTAMP"; readonly INVALID_AGENT: "INVALID_AGENT"; readonly INVALID_SIGNATURE: "INVALID_SIGNATURE"; readonly INVALID_ADDRESS: "INVALID_ADDRESS"; readonly INVALID_CHAIN_ID: "INVALID_CHAIN_ID"; readonly INVALID_ORDER_REQUEST: "INVALID_ORDER_REQUEST"; readonly INVALID_INTERVAL: "INVALID_INTERVAL"; readonly MARKET_NOT_FOUND: "MARKET_NOT_FOUND"; readonly ASSET_NOT_FOUND: "ASSET_NOT_FOUND"; readonly ORDER_NOT_FOUND: "ORDER_NOT_FOUND"; readonly POSITION_NOT_FOUND: "POSITION_NOT_FOUND"; readonly USER_NOT_FOUND: "USER_NOT_FOUND"; readonly UNDERLYING_APR_NOT_FOUND: "UNDERLYING_APR_NOT_FOUND"; readonly ORDER_BOOKS_NOT_FOUND: "ORDER_BOOKS_NOT_FOUND"; readonly AMM_NOT_FOUND: "AMM_NOT_FOUND"; readonly REFERRAL_CODE_NOT_FOUND: "REFERRAL_CODE_NOT_FOUND"; readonly LEADERBOARD_NOT_FOUND: "LEADERBOARD_NOT_FOUND"; readonly MERKLE_NOT_FOUND: "MERKLE_NOT_FOUND"; readonly MOON_PHASE_NOT_FOUND: "MOON_PHASE_NOT_FOUND"; readonly DEPOSIT_BOX_INTENT_NOT_FOUND: "DEPOSIT_BOX_INTENT_NOT_FOUND"; readonly INSUFFICIENT_BALANCE: "INSUFFICIENT_BALANCE"; readonly INSUFFICIENT_MARGIN: "INSUFFICIENT_MARGIN"; readonly MARKET_EXPIRED: "MARKET_EXPIRED"; readonly MARKET_PAUSED: "MARKET_PAUSED"; readonly SLIPPAGE_EXCEEDED: "SLIPPAGE_EXCEEDED"; readonly ORDER_ALREADY_FILLED: "ORDER_ALREADY_FILLED"; readonly ORDER_CANCELLED: "ORDER_CANCELLED"; readonly POSITION_CLOSED: "POSITION_CLOSED"; readonly LEVERAGE_EXCEEDS_MAX: "LEVERAGE_EXCEEDS_MAX"; readonly INITIAL_MARGIN_EXCEEDS_BALANCE: "INITIAL_MARGIN_EXCEEDS_BALANCE"; readonly VALUE_TOO_SMALL: "VALUE_TOO_SMALL"; readonly ORDER_VALUE_TOO_LOW: "ORDER_VALUE_TOO_LOW"; readonly ORDER_WRONG_SIDE: "ORDER_WRONG_SIDE"; readonly ORDER_SIZE_EXCEEDS_POSITION: "ORDER_SIZE_EXCEEDS_POSITION"; readonly BULK_ORDERS_EMPTY: "BULK_ORDERS_EMPTY"; readonly TIME_RANGE_TOO_LONG: "TIME_RANGE_TOO_LONG"; readonly MINIMUM_DEPOSIT_NOT_MET: "MINIMUM_DEPOSIT_NOT_MET"; readonly DEPOSIT_LESS_THAN_TREASURY: "DEPOSIT_LESS_THAN_TREASURY"; readonly TOKEN_NOT_SUPPORTED: "TOKEN_NOT_SUPPORTED"; readonly DEPOSIT_BOX_ID_IN_USE: "DEPOSIT_BOX_ID_IN_USE"; readonly DEPOSIT_BOX_INTENT_EXISTS: "DEPOSIT_BOX_INTENT_EXISTS"; readonly DEPOSIT_BOX_INTENT_INVALID_STATUS: "DEPOSIT_BOX_INTENT_INVALID_STATUS"; readonly ESTIMATED_DURATION_TOO_LONG: "ESTIMATED_DURATION_TOO_LONG"; readonly MISSING_EXT_ROUTER: "MISSING_EXT_ROUTER"; readonly MISSING_EXT_CALLDATA: "MISSING_EXT_CALLDATA"; readonly EIP7702_INCOMPATIBLE: "EIP7702_INCOMPATIBLE"; readonly USER_NOT_WHITELISTED: "USER_NOT_WHITELISTED"; readonly REFERRAL_CODE_EXISTS: "REFERRAL_CODE_EXISTS"; readonly USER_ALREADY_HAS_REFERRAL_CODE: "USER_ALREADY_HAS_REFERRAL_CODE"; readonly USER_ALREADY_JOINED_REFERRAL: "USER_ALREADY_JOINED_REFERRAL"; readonly CANNOT_JOIN_OWN_REFERRAL: "CANNOT_JOIN_OWN_REFERRAL"; readonly ELIGIBILITY_REQUIREMENT_NOT_MET: "ELIGIBILITY_REQUIREMENT_NOT_MET"; readonly UNAUTHORIZED: "UNAUTHORIZED"; readonly FORBIDDEN: "FORBIDDEN"; readonly AGENT_EXPIRED: "AGENT_EXPIRED"; readonly INVALID_API_KEY: "INVALID_API_KEY"; readonly DISABLED_AGENT: "DISABLED_AGENT"; readonly USER_NOT_VIP: "USER_NOT_VIP"; readonly OTC_USER_NOT_ELIGIBLE: "OTC_USER_NOT_ELIGIBLE"; readonly OTC_SHEET_WRITE_FAILED: "OTC_SHEET_WRITE_FAILED"; readonly OTC_TRADE_NOT_FOUND: "OTC_TRADE_NOT_FOUND"; readonly OTC_TRADE_INVALID_STATUS: "OTC_TRADE_INVALID_STATUS"; readonly OTC_TRADE_EXPIRED: "OTC_TRADE_EXPIRED"; readonly OTC_TRADE_UPDATE_FAILED: "OTC_TRADE_UPDATE_FAILED"; readonly OTC_TRADE_DUPLICATE: "OTC_TRADE_DUPLICATE"; readonly OTC_TRADE_INVALID_REQUEST: "OTC_TRADE_INVALID_REQUEST"; readonly OTC_TRADE_UNAUTHORIZED: "OTC_TRADE_UNAUTHORIZED"; readonly INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR"; readonly DATABASE_ERROR: "DATABASE_ERROR"; readonly EXTERNAL_SERVICE_ERROR: "EXTERNAL_SERVICE_ERROR"; readonly BLOCKCHAIN_RPC_ERROR: "BLOCKCHAIN_RPC_ERROR"; readonly HISTORICAL_PRICE_FETCH_FAILED: "HISTORICAL_PRICE_FETCH_FAILED"; readonly DATA_INCONSISTENCY: "DATA_INCONSISTENCY"; readonly MAX_FEE_TOO_LOW: "MAX_FEE_TOO_LOW"; readonly HTTP_EXCEPTION: "HTTP_EXCEPTION"; }; export declare const ErrorCodes: { readonly BOROS20NotEnoughBalance: string; readonly FailedCall: string; readonly InvalidLength: string; readonly Unauthorized: string; readonly AMMCutOffReached: string; readonly AMMInsufficientCashIn: string; readonly AMMInsufficientCashOut: string; readonly AMMInsufficientLiquidity: string; readonly AMMInsufficientLpOut: string; readonly AMMInsufficientSizeOut: string; readonly AMMInvalidParams: string; readonly AMMInvalidRateRange: string; readonly AMMNegativeCash: string; readonly AMMNotFound: string; readonly AMMSignMismatch: string; readonly AMMTotalSupplyCapExceeded: string; readonly AMMWithdrawOnly: string; readonly AuthAgentExpired: string; readonly AuthExpiryInPast: string; readonly AuthIntentExecuted: string; readonly AuthIntentExpired: string; readonly AuthInvalidConnectionId: string; readonly AuthInvalidMessage: string; readonly AuthInvalidNonce: string; readonly AuthSelectorNotAllowed: string; readonly CLOInvalidThreshold: string; readonly CLOMarketInvalidStatus: string; readonly CLOThresholdNotMet: string; readonly ConditionalActionExecuted: string; readonly ConditionalInvalidAgent: string; readonly ConditionalInvalidParams: string; readonly ConditionalInvalidValidator: string; readonly ConditionalMessageExpired: string; readonly ConditionalOrderExpired: string; readonly ConditionalOrderNotReduceOnly: string; readonly DeleveragerAMMNotAllowed: string; readonly DeleveragerDuplicateMarketId: string; readonly DeleveragerHealthNonRisky: string; readonly DeleveragerIncomplete: string; readonly DeleveragerLoserHealthier: string; readonly DeleveragerLoserInBadDebt: string; readonly DeleveragerWinnerInBadDebt: string; readonly DivFailed: string; readonly DivWadFailed: string; readonly ERC20InsufficientAllowance: string; readonly ERC20InsufficientBalance: string; readonly ERC20InvalidApprover: string; readonly ERC20InvalidReceiver: string; readonly ERC20InvalidSender: string; readonly ERC20InvalidSpender: string; readonly FIndexInvalidTime: string; readonly FIndexNotDueForUpdate: string; readonly FIndexUpdatedAtMaturity: string; readonly InsufficientDepositAmount: string; readonly InsufficientProfit: string; readonly InvalidAMMAcc: string; readonly InvalidAMMId: string; readonly InvalidFeeRates: string; readonly InvalidMaturity: string; readonly InvalidNumTicks: string; readonly InvalidObservationWindow: string; readonly InvalidTokenId: string; readonly LiquidationAMMNotAllowed: string; readonly MHInvalidLiquidator: string; readonly MHMarketExists: string; readonly MHMarketNotByFactory: string; readonly MHMarketNotExists: string; readonly MHTokenExists: string; readonly MHTokenLimitExceeded: string; readonly MHTokenNotExists: string; readonly MHWithdrawNotReady: string; readonly MMHealthCritical: string; readonly MMHealthNonRisky: string; readonly MMInsufficientIM: string; readonly MMInsufficientMinCash: string; readonly MMInvalidCritHR: string; readonly MMIsolatedMarketDenied: string; readonly MMMarketAlreadyEntered: string; readonly MMMarketExitDenied: string; readonly MMMarketLimitExceeded: string; readonly MMMarketMismatch: string; readonly MMMarketNotEntered: string; readonly MMSimulationOnly: string; readonly MMTokenMismatch: string; readonly MMTransferDenied: string; readonly MarketCLO: string; readonly MarketDuplicateOTC: string; readonly MarketInvalidDeleverage: string; readonly MarketInvalidFIndexOracle: string; readonly MarketInvalidLiquidation: string; readonly MarketLastTradedRateTooFar: string; readonly MarketLiqNotReduceSize: string; readonly MarketMatured: string; readonly MarketMaxOrdersExceeded: string; readonly MarketOICapExceeded: string; readonly MarketOrderALOFilled: string; readonly MarketOrderCancelled: string; readonly MarketOrderFOKNotFilled: string; readonly MarketOrderFilled: string; readonly MarketOrderNotFound: string; readonly MarketOrderRateOutOfBound: string; readonly MarketPaused: string; readonly MarketSelfSwap: string; readonly MarketZeroSize: string; readonly MathInvalidExponent: string; readonly MathOutOfBounds: string; readonly MulWadFailed: string; readonly OrderCancellerDuplicateMarketId: string; readonly OrderCancellerDuplicateOrderId: string; readonly OrderCancellerInvalidOrder: string; readonly OrderCancellerNotRisky: string; readonly Overflow: string; readonly PauserNotRisky: string; readonly PauserTokenMismatch: string; readonly PortalInvalidMessenger: string; readonly PortalMessengerNotSet: string; readonly ProfitMismatch: string; readonly SDivWadFailed: string; readonly SMulWadFailed: string; readonly SimulationOnly: string; readonly TradeALOAMMNotAllowed: string; readonly TradeAMMAlreadySet: string; readonly TradeMarketIdMismatch: string; readonly TradeOnlyAMMAccount: string; readonly TradeOnlyForIsolated: string; readonly TradeOnlyMainAccount: string; readonly TradeUndesiredRate: string; readonly TradeUndesiredSide: string; readonly WithdrawalPoliceAlreadyRestricted: string; readonly WithdrawalPoliceInvalidCooldown: string; readonly WithdrawalPoliceInvalidThreshold: string; readonly WithdrawalPoliceUnsatCondition: string; readonly ZeroArbitrageSize: string; readonly ZoneGlobalCooldownAlreadyIncreased: string; readonly ZoneInvalidGlobalCooldown: string; readonly ZoneInvalidLiqSettings: string; readonly ZoneInvalidRateDeviationConfig: string; readonly ZoneMarketInvalidStatus: string; readonly REQUEST_VALIDATION_ERROR: "REQUEST_VALIDATION_ERROR"; readonly VALIDATION_ERROR: "VALIDATION_ERROR"; readonly INVALID_INPUT: "INVALID_INPUT"; readonly INVALID_TIMESTAMP: "INVALID_TIMESTAMP"; readonly INVALID_AGENT: "INVALID_AGENT"; readonly INVALID_SIGNATURE: "INVALID_SIGNATURE"; readonly INVALID_ADDRESS: "INVALID_ADDRESS"; readonly INVALID_CHAIN_ID: "INVALID_CHAIN_ID"; readonly INVALID_ORDER_REQUEST: "INVALID_ORDER_REQUEST"; readonly INVALID_INTERVAL: "INVALID_INTERVAL"; readonly MARKET_NOT_FOUND: "MARKET_NOT_FOUND"; readonly ASSET_NOT_FOUND: "ASSET_NOT_FOUND"; readonly ORDER_NOT_FOUND: "ORDER_NOT_FOUND"; readonly POSITION_NOT_FOUND: "POSITION_NOT_FOUND"; readonly USER_NOT_FOUND: "USER_NOT_FOUND"; readonly UNDERLYING_APR_NOT_FOUND: "UNDERLYING_APR_NOT_FOUND"; readonly ORDER_BOOKS_NOT_FOUND: "ORDER_BOOKS_NOT_FOUND"; readonly AMM_NOT_FOUND: "AMM_NOT_FOUND"; readonly REFERRAL_CODE_NOT_FOUND: "REFERRAL_CODE_NOT_FOUND"; readonly LEADERBOARD_NOT_FOUND: "LEADERBOARD_NOT_FOUND"; readonly MERKLE_NOT_FOUND: "MERKLE_NOT_FOUND"; readonly MOON_PHASE_NOT_FOUND: "MOON_PHASE_NOT_FOUND"; readonly DEPOSIT_BOX_INTENT_NOT_FOUND: "DEPOSIT_BOX_INTENT_NOT_FOUND"; readonly INSUFFICIENT_BALANCE: "INSUFFICIENT_BALANCE"; readonly INSUFFICIENT_MARGIN: "INSUFFICIENT_MARGIN"; readonly MARKET_EXPIRED: "MARKET_EXPIRED"; readonly MARKET_PAUSED: "MARKET_PAUSED"; readonly SLIPPAGE_EXCEEDED: "SLIPPAGE_EXCEEDED"; readonly ORDER_ALREADY_FILLED: "ORDER_ALREADY_FILLED"; readonly ORDER_CANCELLED: "ORDER_CANCELLED"; readonly POSITION_CLOSED: "POSITION_CLOSED"; readonly LEVERAGE_EXCEEDS_MAX: "LEVERAGE_EXCEEDS_MAX"; readonly INITIAL_MARGIN_EXCEEDS_BALANCE: "INITIAL_MARGIN_EXCEEDS_BALANCE"; readonly VALUE_TOO_SMALL: "VALUE_TOO_SMALL"; readonly ORDER_VALUE_TOO_LOW: "ORDER_VALUE_TOO_LOW"; readonly ORDER_WRONG_SIDE: "ORDER_WRONG_SIDE"; readonly ORDER_SIZE_EXCEEDS_POSITION: "ORDER_SIZE_EXCEEDS_POSITION"; readonly BULK_ORDERS_EMPTY: "BULK_ORDERS_EMPTY"; readonly TIME_RANGE_TOO_LONG: "TIME_RANGE_TOO_LONG"; readonly MINIMUM_DEPOSIT_NOT_MET: "MINIMUM_DEPOSIT_NOT_MET"; readonly DEPOSIT_LESS_THAN_TREASURY: "DEPOSIT_LESS_THAN_TREASURY"; readonly TOKEN_NOT_SUPPORTED: "TOKEN_NOT_SUPPORTED"; readonly DEPOSIT_BOX_ID_IN_USE: "DEPOSIT_BOX_ID_IN_USE"; readonly DEPOSIT_BOX_INTENT_EXISTS: "DEPOSIT_BOX_INTENT_EXISTS"; readonly DEPOSIT_BOX_INTENT_INVALID_STATUS: "DEPOSIT_BOX_INTENT_INVALID_STATUS"; readonly ESTIMATED_DURATION_TOO_LONG: "ESTIMATED_DURATION_TOO_LONG"; readonly MISSING_EXT_ROUTER: "MISSING_EXT_ROUTER"; readonly MISSING_EXT_CALLDATA: "MISSING_EXT_CALLDATA"; readonly EIP7702_INCOMPATIBLE: "EIP7702_INCOMPATIBLE"; readonly USER_NOT_WHITELISTED: "USER_NOT_WHITELISTED"; readonly REFERRAL_CODE_EXISTS: "REFERRAL_CODE_EXISTS"; readonly USER_ALREADY_HAS_REFERRAL_CODE: "USER_ALREADY_HAS_REFERRAL_CODE"; readonly USER_ALREADY_JOINED_REFERRAL: "USER_ALREADY_JOINED_REFERRAL"; readonly CANNOT_JOIN_OWN_REFERRAL: "CANNOT_JOIN_OWN_REFERRAL"; readonly ELIGIBILITY_REQUIREMENT_NOT_MET: "ELIGIBILITY_REQUIREMENT_NOT_MET"; readonly UNAUTHORIZED: "UNAUTHORIZED"; readonly FORBIDDEN: "FORBIDDEN"; readonly AGENT_EXPIRED: "AGENT_EXPIRED"; readonly INVALID_API_KEY: "INVALID_API_KEY"; readonly DISABLED_AGENT: "DISABLED_AGENT"; readonly USER_NOT_VIP: "USER_NOT_VIP"; readonly OTC_USER_NOT_ELIGIBLE: "OTC_USER_NOT_ELIGIBLE"; readonly OTC_SHEET_WRITE_FAILED: "OTC_SHEET_WRITE_FAILED"; readonly OTC_TRADE_NOT_FOUND: "OTC_TRADE_NOT_FOUND"; readonly OTC_TRADE_INVALID_STATUS: "OTC_TRADE_INVALID_STATUS"; readonly OTC_TRADE_EXPIRED: "OTC_TRADE_EXPIRED"; readonly OTC_TRADE_UPDATE_FAILED: "OTC_TRADE_UPDATE_FAILED"; readonly OTC_TRADE_DUPLICATE: "OTC_TRADE_DUPLICATE"; readonly OTC_TRADE_INVALID_REQUEST: "OTC_TRADE_INVALID_REQUEST"; readonly OTC_TRADE_UNAUTHORIZED: "OTC_TRADE_UNAUTHORIZED"; readonly INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR"; readonly DATABASE_ERROR: "DATABASE_ERROR"; readonly EXTERNAL_SERVICE_ERROR: "EXTERNAL_SERVICE_ERROR"; readonly BLOCKCHAIN_RPC_ERROR: "BLOCKCHAIN_RPC_ERROR"; readonly HISTORICAL_PRICE_FETCH_FAILED: "HISTORICAL_PRICE_FETCH_FAILED"; readonly DATA_INCONSISTENCY: "DATA_INCONSISTENCY"; readonly MAX_FEE_TOO_LOW: "MAX_FEE_TOO_LOW"; readonly HTTP_EXCEPTION: "HTTP_EXCEPTION"; }; export type ErrorCode = (typeof ErrorCodes)[keyof typeof ErrorCodes];