import type { TargetToken, XrplNamespace } from './types'; import type { TargetNamespace } from '../../shared'; import type { NextTransactionStateError } from '../common/produceNextStateForTransaction'; import type { BlockedReason, ExecuterActions } from '@arthur2079/queue-manager-core'; import type { WalletType } from '@arthur2079/wallets-shared'; import type { PendingSwap, XrplTransaction } from 'rango-types'; import type { Result } from 'ts-results'; import { type SwapActionTypes, type SwapQueueContext, type SwapStorage } from '../../types'; export declare function ensureXrplNamespaceExists(context: SwapQueueContext, walletType: string): Promise>; export declare function checkIfTrustLineIsAlreadyOpened(account: string, token: TargetToken, options: { namespace: XrplNamespace; }): Promise>; export declare function createTrustLineTransaction(account: string, token: TargetToken): XrplTransaction; export declare function getXrplWalletFromSwap(swap: PendingSwap): { type: WalletType; namespace: TargetNamespace; address: string; } | null; export declare function ensureRequiredXrplWalletIsConnected(actions: ExecuterActions, requiredWallet: { type: WalletType; namespace: TargetNamespace; address: string; }): Promise>; //# sourceMappingURL=utils.d.ts.map