import { LIGHTER_FAST_METHOD_ID, LIGHTER_SECURE_METHOD_ID, type LighterWithdrawalFlowConfig } from './lighterWithdrawalConfig'; /** One row on the withdrawal method screen, before icons are attached. */ export interface LighterWithdrawalMethod { id: typeof LIGHTER_FAST_METHOD_ID | typeof LIGHTER_SECURE_METHOD_ID; title: string; subtitle: string; } export interface UseLighterWithdrawalMethodsResult { /** Fast then Secure, in web's order. Empty until the account resolves. */ methods: LighterWithdrawalMethod[]; /** * The user's Lighter L2 main-account index. Both rails address the account * by index, so neither can run before this resolves. */ accountIndex: string | undefined; /** Unified accounts hold one USDC balance — no spot/perps split. */ isUnifiedTradingMode: boolean; /** The account lookup is in flight; rows are expected to be empty. */ isLoading: boolean; } /** * The Fast / Secure rows plus the account state both rails need. Port of the * row-building half of web's `useLighterWithdrawalConfig`. * * Pass `undefined` when the host configured no Lighter: the inner hooks still * run (Rules of Hooks) but every query stays disabled. */ export declare function useLighterWithdrawalMethods(config: LighterWithdrawalFlowConfig | undefined): UseLighterWithdrawalMethodsResult; //# sourceMappingURL=useLighterWithdrawalMethods.d.ts.map