import * as React from 'react'; import RootSiblings from 'react-native-root-siblings'; import RootManager from './RootManager'; export declare const CREATE_EVENT = "ROOT_ELEMENT_CREATE"; export declare const UPDATE_EVENT = "ROOT_ELEMENT_UPDATE"; export declare function createRootView(RootView: any, props: any): RootManager; /** * @author 田尘殇Sean(sean.snow@live.com) * @date 16/8/11 */ export default function createRootNode(RootView: any): { new (props: any): { manager: RootSiblings; componentDidUpdate(): void; componentWillUnmount(): void; render(): JSX.Element; context: any; setState(state: S | ((prevState: Readonly, props: Readonly

) => S | Pick) | Pick, callback?: () => void): void; forceUpdate(callback?: () => void): void; readonly props: Readonly

& Readonly<{ children?: React.ReactNode; }>; state: Readonly; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly

, nextState: Readonly, nextContext: any): boolean; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly

, prevState: Readonly): any; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly

, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly

, nextContext: any): void; componentWillUpdate?(nextProps: Readonly

, nextState: Readonly, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly

, nextState: Readonly, nextContext: any): void; }; contextType?: React.Context; };