// Generated by dts-bundle v0.7.3 // Dependencies for this module: // ../../../react import * as React from 'react'; export interface IStructureViewerProps { structure: IStructureElement[]; highlightColor: string; elementActions: IStructureElementAction[]; style?: React.CSSProperties; } export interface IStructureViewerState { } export default class StructureViewer extends React.Component { constructor(props: any); render(): JSX.Element; } export interface IStructureElement { id: string | number; title: string; type: "header" | "element"; iconUrl: string; highlighted: boolean; children: IStructureElement[]; originalElement: any; titleSubcomponent?: JSX.Element; } export interface IStructureElementAction { iconUrl: string; actionTitle: (props?: { isHighlighted?: boolean; }) => string; action: (element: IStructureElement) => void; isEnabled: (props?: { element?: IStructureElement; index?: number; parentChildrenCount?: number; isTopLevel?: boolean; }) => boolean; }