import type { FunAddress } from '@funkit/api-base'; import type { DepositTargetConfig } from '../../flow/depositFlowConfig'; export interface UseDepositRecipientResult { /** Who ends up with the funds; `0x` when nothing names one. */ recipient: FunAddress; /** A Lighter deposit whose main-account index has not resolved. */ isLighterWalletFallback: boolean; isLighterDeposit: boolean; /** The resolved L2 main-account index, when there is one. */ lighterRecipientOverride: string | undefined; isLookupFetching: boolean; lookupStatus: string; } /** * Who a deposit pays, resolved once. * * Mirrors web's `useCheckoutTransferInit` priority: a resolved Lighter L2 * main-account index outranks an explicit `recipientAddr`, which outranks the * host's configured `customRecipient`, which outranks the wallet. Its own hook * so a caller can read the recipient *before* deciding whether to mint a * deposit address for it. */ export declare function useDepositRecipient({ checkoutConfig, recipientAddr, udaTargetChain, }: { checkoutConfig: DepositTargetConfig | undefined; recipientAddr?: FunAddress; /** Target chain of the resolved UDA params, which decides Lighter. */ udaTargetChain: string | undefined; }): UseDepositRecipientResult; //# sourceMappingURL=useDepositRecipient.d.ts.map