import type { ErrorNotification } from '../../../components/FunNotification/FunNotification'; import type { FunCheckoutStep } from '../../../modals/CheckoutModal/FunCheckoutStep'; import type { WithdrawalModalStep } from '../../../modals/WithdrawalModal/types'; import { type AnalyticsFlow } from './events'; type TrackErrorShownArgs = { error: ErrorNotification | null; flow: AnalyticsFlow; step: FunCheckoutStep | WithdrawalModalStep; }; /** Emits once for each continuous episode in which an error is displayed. */ export declare function useTrackErrorShown({ error, flow, step }: TrackErrorShownArgs): void; export {};