UNPKG

@pushchain/ui-kit

Version:
59 lines (58 loc) 1.8 kB
import { ConnectionStatus } from '../types'; export declare const PushUI: { CONSTANTS: { PUSH_NETWORK: typeof import("@pushchain/core/src/lib/constants/enums").PUSH_NETWORK; CHAIN: { ETHEREUM: string; SOLANA: string; }; THEME: { LIGHT: string; DARK: string; }; LOGIN: { LAYOUT: { SPLIT: string; SIMPLE: string; }; }; CONNECTED: { LAYOUT: { FULL: string; HOVER: string; }; INTERACTION: { INTERACTIVE: string; BLUR: string; }; }; CONNECTION: { STATUS: typeof ConnectionStatus; }; }; }; export declare enum WALLET_TO_APP_ACTION { CONNECT_EXTERNAL_WALLET = "connectWallet", APP_CONNECTION_SUCCESS = "appConnectionSuccess", APP_CONNECTION_REJECTED = "appConnectionRejected", IS_LOGGED_IN = "isLoggedIn", IS_LOGGED_OUT = "loggedOut", SIGN_MESSAGE = "signatureMessage", SIGN_TRANSACTION = "signatureTransaction", SIGN_TYPED_DATA = "signatureTypedData", ERROR = "error", PUSH_SEND_TRANSACTION = "pushSendTransaction", CLOSE_IFRAME = "closeIFrame" } export declare enum APP_TO_WALLET_ACTION { NEW_CONNECTION_REQUEST = "newConnectionRequest", SIGN_MESSAGE = "signMessage", SIGN_TRANSACTION = "signTransaction", SIGN_TYPED_DATA = "signTypedData", LOG_OUT = "logOut", CONNECTION_STATUS = "connectionStatus", WALLET_CONFIG = "walletConfig", PUSH_SEND_TRANSACTION_RESPONSE = "pushSendTransactionResponse" } export declare const CHAIN_LOGO: Record<string, React.FC | React.ComponentType>; export * from './environment';