UNPKG

@ledgerhq/live-common

Version:
14 lines 637 B
import { Account, AccountLike } from "@ledgerhq/types-live"; import { SwapSelectorStateType, SwapDataType, SwapTransactionType } from "../types"; export declare const useToState: ({ accounts, fromCurrencyAccount, }: { accounts: Account[] | undefined; fromCurrencyAccount: AccountLike | undefined; }) => { toState: SwapSelectorStateType; toCurrencies: string[]; setToAccount: SwapTransactionType["setToAccount"]; setToAmount: SwapTransactionType["setToAmount"]; setToCurrency: SwapTransactionType["setToCurrency"]; targetAccounts: SwapDataType["targetAccounts"]; }; //# sourceMappingURL=useToState.d.ts.map