import { IChainInfo, ICrossRule, IGlobalState, IOBridgeConfig, ISearchTxResponse, IToken, ITokensByChain, ITransactionInfo, ITransferConfig, TAddress, TBridgeResponse, TSymbol, TTokenName, TRefundResponse } from "../types"; export declare class Orbiter { private static instance; private chainsService; private tokensService; private crossRulesService; private historyService; private refundService; private crossControl; constructor(config?: Partial); private generateSigner; static getInstance(): Orbiter; updateConfig: (config: Partial) => void; getGlobalState: () => IGlobalState; setGlobalState: (newState: IGlobalState) => void; queryChains: () => Promise; queryChainInfo: (chainId: string | number) => Promise; queryTokensDecimals: (chainId: string | number, token: TTokenName | TAddress | TSymbol | Array) => Promise; queryToken: (chainId: string | number, token: TTokenName | TAddress | TSymbol) => Promise; queryTokensAllChain: () => Promise; queryTokensByChainId: (chainId: string | number) => Promise; queryRouters: () => Promise; queryRouter: (params: { fromChainInfo: IChainInfo; toChainInfo: IChainInfo; fromCurrency: string; toCurrency: string; }) => Promise; queryHistoryList: (params: { account: string; pageNum: number; pageSize: number; }) => Promise<{ transactions: ITransactionInfo[]; count: number; }>; searchTransaction: (txHash: string) => Promise; queryRealSendAmount: (options: { ruleConfig: ICrossRule; transferValue: string | number; }) => Promise<{ sendAmount: bigint; decimals: number; formatSendAmount: string; }>; queryReceiveAmount: (transferValue: number, ruleConfig: ICrossRule) => Promise; toRefund: (sendOptions: { to: string; amount: number | string; token: TTokenName | TAddress | TSymbol; fromChainId: string | number; }) => Promise; toBridge: (transferConfig: ITransferConfig) => Promise; } //# sourceMappingURL=index.d.ts.map