UNPKG

@funkit/connect

Version:

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

26 lines (25 loc) 621 B
import type { TFunction } from 'i18next'; export declare enum CheckoutInitStepMessage { CONFIRMING = 0, PREPARING_DATA = 1, SWITCH_CHAIN = 2, WAITING_FOR_SIGNATURE = 3, WAITING_FOR_CONFIRMATION = 4 } export declare const getCheckoutStepMessage: (t: TFunction) => { 1: string; 0: string; 2: string; 3: string; 4: string; }; export declare enum Web3AccountBalanceMessage { SIGN_TX = 0, SWITCH_CHAIN = 1, APPROVE_TRANSFER = 2 } export declare const getWeb3AccountBalanceMessage: (t: TFunction) => { 0: string; 1: string; 2: (tokenSymbol: string) => string; };