import * as React from 'react'; export declare enum PaneSplitAxis { Horizontal = "horizontal", Vertical = "vertical" } export interface IPaneContent { id: string; type: string; isCurrent: boolean; isUnique: boolean; data?: Data; } export interface IPane { id: string; isCurrent: boolean; split: boolean; splitAxis?: PaneSplitAxis; childOf?: string; children: string[]; contents: Array>; } export interface IContentRenderContext { content: IPaneContent; pane: IPane; extra: { close: () => void; }; } export interface IContentType { id: string; renderButton: (context: IContentRenderContext) => React.ReactNode; renderIcon: (context: IContentRenderContext) => React.ReactNode; renderPane: (context: IContentRenderContext) => React.ReactNode; }