import React from 'react'; export interface GlobalState { isDebug: boolean; isDemo: boolean; siteName: string; pageId: string; chainId?: number; preferDisplayName: string | undefined; preferDisplayAvatar: string | undefined; disableEditProfile: boolean; } export declare const initGlobalState: () => { isDebug: boolean; isDemo: boolean; siteName: string; pageId: string; chainId: number; preferDisplayName: any; preferDisplayAvatar: any; disableEditProfile: boolean; }; export declare function useGlobalContext(): { globalState: GlobalState; setGlobalState: React.Dispatch; }; export declare const GlobalContextProvider: (props: any) => JSX.Element;