import { type CheckoutHistoryItem } from '@funkit/api-base'; import type { MergedMultiStepDirectExecution } from '../domains/checkoutNotifications'; import type { NotificationItem } from '../modals/CheckoutModal/TransferToken/types'; /** * Marks the host's balances stale once per completed deposit. Feed it every * history update; polls keep reporting a deposit as completed. Each caller * keeps its own record of the deposits it has refreshed for. */ export declare function useRefreshBalancesOnDeposit(): (historyItem: NotificationItem) => void; /** * Marks the host's balances stale when a deposit in the recent deposit queries * completes. Deposits already complete when a list first loads are recorded * without a refresh. Reads the raw query data, so it doesn't depend on which * notifications are on screen. Keeps its own record, separate from * useRefreshBalancesOnDeposit. */ export declare function useRefreshBalancesOnRecentDeposits({ checkouts, mergedDirectExecutions, }: { checkouts: CheckoutHistoryItem[] | undefined; mergedDirectExecutions: MergedMultiStepDirectExecution[] | undefined; }): void;