/// import * as PropTypes from 'prop-types'; import * as React from 'react'; import { Container, DelegateDef } from './core'; import { Environment } from './environment'; import { MessageConstructor } from './message'; import ExecContext from './runtime/exec_context'; export declare type ViewWrapperProps = { childProps: M; container: Container; delegate: DelegateDef; env?: Environment; }; /** * Component used to wrap container-defined view, for managing state and injecting * container-bound props. * * This component looks for `execContext` in its parent context, and propagates * itself with `execContext` in its children's contexts. */ export default class ViewWrapper extends React.Component, any> { static contextTypes: { execContext: PropTypes.Requireable; }; static childContextTypes: { execContext: PropTypes.Requireable; }; static propTypes: { childProps: PropTypes.Validator; container: PropTypes.Validator; delegate: PropTypes.Requireable; env: PropTypes.Validator; }; static defaultProps: { delegate: null; }; execContext: ExecContext; unsubscribe: () => void; getChildContext(): { execContext: ExecContext; }; dispatchLifecycleMessage(msg: M, props: any): boolean; mergeWithRelay(nextState: any): import("Object/MergeUp").MergeUpFlat<{ relay: any; }, { [x: string]: any; [x: number]: any; }, 1, never>; componentWillMount(): void; shouldComponentUpdate(nextProps: any, nextState: any): boolean; componentDidUpdate(prev: any): void; componentWillUnmount(): void; componentDidCatch(e: any): void; unstable_handleError(e: any): void; handleError(e: any): void; render(): any; }