import type { FunkitActiveCheckoutItem } from '../providers/FunkitCheckoutContext'; /** * Whether `beginCheckout` should reopen the soft-hidden checkout instead of * starting the requested one. * - The active item must be the soft-hidden checkout itself. A missing item * (cleared on logout) or a different id (a later withdrawal took the active * slot) leaves nothing coherent to resume. * - `beginCheckout` always asks for a deposit. Resuming a withdrawal item drops * the deposit config and runs the old withdrawal's recipient and target. */ export declare function shouldResumeSoftHiddenCheckout({ prefersResume, hiddenCheckoutId, activeCheckoutItem, }: { prefersResume: boolean; hiddenCheckoutId: string; activeCheckoutItem: FunkitActiveCheckoutItem | null; }): boolean;