/// import { GlobalVariable } from "@gongt/ts-stl-library/pattern/global-page-data"; import * as React from "react"; export interface IContextCreate { (window: Window): GlobalVariable; } export declare const REACT_ROOT_ELEMENT_ID_VARNAME = "REACT_ROOT_ELEMENT_ID"; export interface WrapComponent { componentName: string; Component: React.ComponentClass; props: Function; } export declare type MainAppCreator = (global: GlobalVariable) => React.ReactElement; export declare abstract class ReactRenderBase { protected _getComponent: MainAppCreator; protected wrapStack: WrapComponent[]; setMainApp(component: MainAppCreator): void; protected getComponent(global: GlobalVariable): React.ReactElement; wrapComponent

(componentName: string, Component: React.ComponentClass

, props?: (global: GlobalVariable) => P): void; abstract render(arg?: GlobalVariable): any; } export declare class ReactRender extends ReactRenderBase { constructor(); render(global?: GlobalVariable): void; } export declare function debugComponent(comp: React.ReactElement): void; export declare const debugComponentEnabled: boolean;