import * as React from "react"; import { Workbench } from "../workbench"; export interface IWorkbenchViewProps { id?: string; style?: React.CSSProperties; workbench?: Workbench; } /** * React component that shows a prepared and configured Workbench object. */ export declare class WorkbenchView extends React.Component { /** * State variable storing the DOM node of the internal div that the workbench * should be rendered into. */ private _divRef; /** * Flag to store whether the workbench *is* currently attached to * the DOM or not. */ private _isAttached; /** * Flag to store whether the component is currently mounted or not. */ private _isMounted; /** * Flag to store whether the workbench *should* currently be attached to * the DOM or not. */ private _shouldBeAttached; /** * The workbench that is currently attached to the ODM tree. */ private _workbench; constructor(props: IWorkbenchViewProps); componentDidMount(): void; componentDidUpdate(): void; componentWillUnmount(): void; render(): React.ReactElement; private _renderOrDetachWorkbenchIfNeeded; private _setWorkbench; }