import { type CheckoutHistoryItem } from '@funkit/api-base'; import { type UseQueryResult } from '@tanstack/react-query'; import { PaymentMethod } from '../../domains/paymentMethods'; import type { FunLogger } from '../../utils/funLogger'; export interface RecentCheckoutsQueryParams { isVisible: boolean; paymentMethod?: PaymentMethod; apiKey: string; userId: string; isUserLoggedIn: boolean; refreshIntervalMs: number; logger: FunLogger; } /** * Params-shaped recent-checkouts fetch shared by web and React Native: pulls the * user's checkouts via `@funkit/api-base` and keeps the valid, recent ones for * the requested payment method, newest first. No provider context — identity, * refresh interval, and the logger are injected. * * @returns recent checkouts tied to a recipient address used in the token transfer flow */ export declare function useRecentCheckoutsQuery({ paymentMethod, isVisible, apiKey, userId, isUserLoggedIn, refreshIntervalMs, logger, }: RecentCheckoutsQueryParams): UseQueryResult; //# sourceMappingURL=useRecentCheckoutsQuery.d.ts.map