import { QuoteAllInterface, QuoteRequestInterface, SwapRequestInterface, WsQuoteRequestInterface } from '@cryptorubic/core'; import { Observable } from 'rxjs'; import { EnvType } from '../../core/sdk/models/env-type'; import { WrappedAsyncTradeOrNull } from './models/wrapped-async-trade-or-null'; import { TransferSwapRequestInterface } from './chains/transfer-trade/models/transfer-swap-request-interface'; import { CrossChainTxStatusConfig } from './models/cross-chain-tx-status-config'; import { SwapResponseInterface } from './models/swap-response-interface'; export declare class RubicApiService { private readonly envType; private get apiUrl(); private readonly client; private latestQuoteParams; constructor(envType: EnvType); private getSocket; calculateAsync(params: WsQuoteRequestInterface, attempt?: number): void; stopCalculation(): void; fetchSwapData(body: SwapRequestInterface | TransferSwapRequestInterface): Promise>; fetchRoutes(body: QuoteRequestInterface): Promise; fetchBestSwapData(body: SwapRequestInterface | TransferSwapRequestInterface): Promise>; fetchCelerRefundData(): void; disconnectSocket(): void; closetSocket(): void; handleQuotesAsync(): Observable; fetchCrossChainTxStatus(srcTxHash: string): Promise; fetchCrossChainTxStatusExtended(srcTxHash: string, rubicId: string): Promise; getMessageToAuthWallet(walletAddress: string): Promise<{ messageToAuth: string; }>; private getApiError; }