import type { Address, Hex } from 'viem'; interface Simulation { success: boolean; call: { chainId: number; to: Address; data: Hex; value: string; }; details: { stateOverride: unknown[]; blockNumber: string; relayer: string; simulationUrl: string; }; } declare class OrchestratorError extends Error { private readonly _message; private readonly _context; private readonly _errorType; private readonly _traceId; private readonly _statusCode?; constructor(params?: { message?: string; context?: any; errorType?: string; traceId?: string; statusCode?: number; }); get message(): string; get context(): any; get errorType(): string; get traceId(): string; get statusCode(): number | undefined; } declare class InsufficientBalanceError extends OrchestratorError { constructor(params?: { context?: any; errorType?: string; traceId?: string; statusCode?: number; }); } declare class UnsupportedChainIdError extends OrchestratorError { constructor(params?: { context?: any; errorType?: string; traceId?: string; statusCode?: number; }); } declare class UnsupportedChainError extends OrchestratorError { constructor(chainId: number, params?: { context?: any; errorType?: string; traceId?: string; statusCode?: number; }); } declare class UnsupportedTokenError extends OrchestratorError { constructor(tokenSymbol: string, chainId: number, params?: { context?: any; errorType?: string; traceId?: string; statusCode?: number; }); } declare class TokenNotSupportedError extends OrchestratorError { constructor(tokenAddress: string, chainId: number, params?: { context?: any; errorType?: string; traceId?: string; statusCode?: number; }); } declare class AuthenticationRequiredError extends OrchestratorError { constructor(params?: { context?: any; errorType?: string; traceId?: string; statusCode?: number; }); } declare class InvalidApiKeyError extends OrchestratorError { constructor(params?: { context?: any; errorType?: string; traceId?: string; statusCode?: number; }); } declare class InvalidIntentSignatureError extends OrchestratorError { constructor(params?: { context?: any; errorType?: string; traceId?: string; statusCode?: number; }); } declare class OnlyOneTargetTokenAmountCanBeUnsetError extends OrchestratorError { constructor(params?: { context?: any; errorType?: string; traceId?: string; statusCode?: number; }); } declare class NoPathFoundError extends OrchestratorError { constructor(params?: { context?: any; errorType?: string; traceId?: string; statusCode?: number; }); } declare class IntentNotFoundError extends OrchestratorError { constructor(params?: { context?: any; errorType?: string; traceId?: string; statusCode?: number; }); } declare class SchemaValidationError extends OrchestratorError { constructor(params?: { message?: string; context?: any; errorType?: string; traceId?: string; statusCode?: number; }); } declare class RateLimitedError extends OrchestratorError { constructor(params?: { context?: any; errorType?: string; traceId?: string; statusCode?: number; }); } declare class ServiceUnavailableError extends OrchestratorError { constructor(params?: { context?: any; errorType?: string; traceId?: string; statusCode?: number; }); } declare class UnauthorizedError extends OrchestratorError { constructor(params?: { context?: any; errorType?: string; traceId?: string; statusCode?: number; }); } declare class ForbiddenError extends OrchestratorError { constructor(params?: { context?: any; errorType?: string; traceId?: string; statusCode?: number; }); } declare class ResourceNotFoundError extends OrchestratorError { constructor(params?: { context?: any; errorType?: string; traceId?: string; statusCode?: number; }); } declare class ConflictError extends OrchestratorError { constructor(params?: { context?: any; errorType?: string; traceId?: string; statusCode?: number; }); } declare class BadRequestError extends OrchestratorError { constructor(params?: { message?: string; context?: any; errorType?: string; traceId?: string; statusCode?: number; }); } declare class UnprocessableEntityError extends OrchestratorError { constructor(params?: { message?: string; context?: any; errorType?: string; traceId?: string; statusCode?: number; }); } declare class InternalServerError extends OrchestratorError { constructor(params?: { context?: any; errorType?: string; traceId?: string; statusCode?: number; }); } declare class BodyParserError extends OrchestratorError { constructor(params?: { message?: string; context?: any; errorType?: string; traceId?: string; statusCode?: number; }); } declare class SimulationFailedError extends OrchestratorError { constructor(params?: { message?: string; context?: any; errorType?: string; traceId?: string; statusCode?: number; simulations?: Simulation[]; }); } declare class InsufficientLiquidityError extends OrchestratorError { readonly availableIntents: Record[]; readonly unfillable: Record; constructor(params: { availableIntents: Record[]; unfillable: Record; traceId?: string; statusCode?: number; }); } declare function isOrchestratorError(error: Error): error is OrchestratorError; declare function isRateLimited(error: unknown): error is RateLimitedError; declare function isValidationError(error: unknown): boolean; declare function isAuthError(error: unknown): boolean; declare function isRetryable(error: unknown): boolean; export { isOrchestratorError, isRetryable, isAuthError, isValidationError, isRateLimited, OrchestratorError, InsufficientLiquidityError, InsufficientBalanceError, UnsupportedChainIdError, UnsupportedChainError, UnsupportedTokenError, TokenNotSupportedError, AuthenticationRequiredError, InvalidApiKeyError, InvalidIntentSignatureError, OnlyOneTargetTokenAmountCanBeUnsetError, NoPathFoundError, IntentNotFoundError, SchemaValidationError, RateLimitedError, ServiceUnavailableError, UnauthorizedError, ForbiddenError, ResourceNotFoundError, ConflictError, BadRequestError, UnprocessableEntityError, InternalServerError, BodyParserError, SimulationFailedError, }; //# sourceMappingURL=error.d.ts.map