import { type FiatV2PaymentSelectionEvent, type FiatV2PaymentSelectionState } from '@funkit/connect-core'; import type { FiatV2PaymentSelectionEffects } from './fiatV2PaymentSelectionEffects'; /** * Events a V2 screen may send. The rest (check answers, expiry, saved-card * loads, saves) come from the host's own effects, so a screen can't fake them. */ export type FiatV2BuyerPaymentEvent = Extract; /** * Holds machine 6 (FiatV2 payment selection) for the FIAT_V2 step and runs the side * effects its states ask for: the card check a Submit or Retry tap starts, and * the expiry timer while a card is held. Replaced by the FiatV2 root reducer's host later. */ export declare function useFiatV2PaymentSelectionHost({ effects, }: { effects: FiatV2PaymentSelectionEffects; }): { state: FiatV2PaymentSelectionState; send: (event: FiatV2BuyerPaymentEvent) => void; }; /** Short label for the placeholder screen, e.g. `card:refused:rate_limited`. */ export declare function stageOf(state: FiatV2PaymentSelectionState): string;