export * from './cache.js'; export * from './result.js'; export { asyncRetry, asyncRetryResult, type RetryOptions } from './retry.js'; export { AsyncRateLimiter, withRateLimit } from './rateLimit.js'; export { AsyncNonceManager } from './nonceManager.js'; export { sanitizeErrorMessage, extractUserMessage, createSafeError } from './errorSanitizer.js'; export * from './inputValidators.js'; export { toDecimal, toWei, fromWei, quantizeToDisplay, checkDisplayPrecision, checkTradeAmountBounds, DISPLAY_PRECISION_TOLERANCE, Big, type DecimalInput, } from './decimal.js'; export { ProviderManager, type ProviderManagerConfig } from './providerManager.js'; export { WebSocketManager, type WebSocketConfig, type ConnectionState, type MessageCallback } from './websocketManager.js'; export * from './observability.js'; export { normalizeTokenSymbol, normalizeTradingPair } from './tokenNormalization.js'; export { ChainResolver, normalizeChainAlias, inferChainFamily, inferEnvironmentKind, type ResolvedChain } from './chainResolver.js'; export declare class Utils { /** * Convert string to bytes32 padded with null bytes. * Uses ethers.encodeBytes32String which automatically handles padding. */ static toBytes32(text: string): string; /** * Convert bytes32 to string stripping null bytes. */ static fromBytes32(hex: string): string; /** * Convert between human-readable and raw unit amounts. * @param amount The amount to convert. * @param decimals The number of decimals. * @param toBase If true, convert from Display (1.5) to Base (1.5e18). If false, Base to Display. */ static unitConversion(amount: string | number, decimals: number, toBase?: boolean): string; } //# sourceMappingURL=index.d.ts.map