UNPKG

@funkit/connect

Version:

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

23 lines (22 loc) 789 B
import { type BridgeCustomer, type BridgeVirtualBankAccount, type Guid } from '@funkit/api-base'; import { type CheckoutModalCommonState, FunCheckoutStep, type ModalStepInfo } from '~/modals/CheckoutModal/stepTransition'; export declare enum NextStep { ShowSource = "ShowSource", ShowKyc = "ShowKyc", ShowError = "ShowError" } export type BridgeKycNext = { nextStep: NextStep.ShowSource; bridgeCustomer: BridgeCustomer; virtualFiatAccount: BridgeVirtualBankAccount; } | { nextStep: NextStep.ShowError; } | { nextStep: NextStep.ShowKyc; guidForKyc: Guid; }; export type BridgeKycState = CheckoutModalCommonState & { kycLink?: string; kycIframeCompleted?: boolean; }; export declare const BridgeKycInfo: ModalStepInfo<FunCheckoutStep.BRIDGE_KYC>;