export declare enum PaymentState { Idle = "idle", Loading = "loading", ConnectWallet = "connect_wallet", PaymentSelection = "payment_selection", PaymentInProgress = "payment_in_progress", Error = "error" } export interface PaymentStateData { state: PaymentState; data: PaymentStateData | undefined; } export interface PaymentStateData { } export interface PaymentStateErrorData extends PaymentStateData { message: string | undefined; targetState: PaymentState; shouldCloseModal: boolean; } export declare enum MetamaskAccountState { Initial = "initial", NotInstalled = "not_installed", Connected = "connected", Disconnected = "disconnected" } export interface MetamaskAccountData { state: MetamaskAccountState; address: string | undefined; } export declare const newInitialMetamaskAccountData: () => { state: MetamaskAccountState; address: undefined; }; export declare const newNotInstalledMetamaskAccountData: () => { state: MetamaskAccountState; address: undefined; }; export declare const newDisconnectedMetamaskAccountData: () => { state: MetamaskAccountState; address: undefined; }; export declare const newConnectedMetamaskAccountData: (address: string) => { state: MetamaskAccountState; address: string; }; export declare const newPaymentState: (state: PaymentState, data?: PaymentStateData) => { state: PaymentState; data: PaymentStateData | undefined; }; export declare const newIdlePaymentState: () => { state: PaymentState; data: undefined; }; export declare const newLoadingPaymentState: () => { state: PaymentState; data: undefined; }; export declare const newConnectWalletState: () => { state: PaymentState; data: undefined; }; export declare const newPaymentSelectionPaymentState: () => { state: PaymentState; data: undefined; }; export declare const newPaymentInProgressPaymentState: () => { state: PaymentState; data: undefined; }; export declare const newErrorPaymentState: (message: string, targetState: PaymentState) => { state: PaymentState; data: PaymentStateErrorData; };