import type { Unit } from "@ledgerhq/types-cryptoassets"; import type { SendFlowTransactionActions, SendFlowUiConfig } from "../../types"; import type { Transaction, TransactionStatus } from "../../../../generated/types"; import type { Account, AccountLike } from "@ledgerhq/types-live"; import type { CoinControlDisplayData } from "../../../../bridge/descriptor/types"; export type CoinControlScreenViewModelLabels = Readonly<{ reviewCta: string; getCtaLabel: (currency: string) => string; strategyLabel: string; learnMoreLabel: string; coinToSendLabel: string; changeToReturnLabel: string; enterAmountPlaceholder: string; selectSufficientCoinsPlaceholder: string; amountToSendLabel: string; amountInputLabel: string; getStrategyOptionLabel: (labelKey: string) => string; }>; export type CoinControlChangeToReturnViewModel = Readonly<{ changeToReturnLabel: string; value: string; placeholder: string; }>; export type UseCoinControlScreenViewModelCoreParams = Readonly<{ account: AccountLike; parentAccount: Account | null; transaction: Transaction; status: TransactionStatus; bridgePending: boolean; uiConfig: SendFlowUiConfig; transactionActions: SendFlowTransactionActions; locale: string; accountUnit: Unit; amountError: string | undefined; networkFees: TNetworkFees; labels: CoinControlScreenViewModelLabels; onLearnMoreClick: () => void; }>; export type CoinControlScreenViewModelCoreResult = Readonly<{ amountValue: string | null; onAmountChange: (rawValue: string) => void; amountError: string | undefined; utxoDisplayData: CoinControlDisplayData | null; strategyOptionsWithLabels: readonly { value: number; label: string; }[]; changeToReturn: CoinControlChangeToReturnViewModel; onSelectStrategy: (value: string) => void; reviewLabel: string; reviewShowIcon: boolean; reviewDisabled: boolean; reviewLoading: boolean; strategyLabel: string; onLearnMoreClick: () => void; learnMoreLabel: string; coinToSendLabel: string; enterAmountPlaceholder: string; amountToSendLabel: string; amountInputLabel: string; networkFees: TNetworkFees; /** True when the active UTXO picking strategy is the coin’s “custom selection” mode. */ isCustomPickingStrategy: boolean; onToggleUtxoExclusion?: (rowKey: string) => void; }>; export declare function useCoinControlScreenViewModelCore({ account, parentAccount, transaction, status, bridgePending, uiConfig: _uiConfig, transactionActions, locale, accountUnit, amountError, networkFees, labels, onLearnMoreClick, }: UseCoinControlScreenViewModelCoreParams): CoinControlScreenViewModelCoreResult; //# sourceMappingURL=useCoinControlScreenViewModelCore.d.ts.map