import type { WithdrawalFlowConfig, WithdrawalMethodOption } from '../../src/flow/withdrawalFlowConfig'; import type { LighterWithdrawalFlowConfig } from './lighterWithdrawalConfig'; /** * The Lighter methods to hand `beginWithdrawal`, each carrying the config it * runs. Mirrors web's `useLighterWithdrawalConfig`: the host calls this and * passes the result on, so the SDK never holds Lighter config. * * Empty until the L2 account resolves — both rails address the account by * index, so there is nothing to offer before then, and the flow falls back to * its generic crypto row. */ export declare function useLighterWithdrawal({ lighter, config, }: { lighter: LighterWithdrawalFlowConfig | undefined; /** * The host's own withdrawal config; title and callbacks carry over. Absent * until the host has one — a hook can't be called conditionally, so there is * no placeholder worth inventing. */ config: WithdrawalFlowConfig | undefined; }): WithdrawalMethodOption[]; //# sourceMappingURL=useLighterWithdrawal.d.ts.map