UNPKG

@funkit/connect

Version:

Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.

7 lines (6 loc) 480 B
import { CheckoutModalEvent } from '../../hooks/track/CheckoutModalEvent'; import type { TrackEventData } from '../../hooks/track/useTrack'; import { FunCheckoutStep } from './FunCheckoutStep'; import type { CheckoutModalState } from './stepTransition'; export declare const CHECKOUT_STEP_TO_READY_EVENT: Partial<Record<FunCheckoutStep, CheckoutModalEvent>>; export declare const trackEventFromNextState: (nextState: CheckoutModalState<FunCheckoutStep>) => TrackEventData | null;