import * as React from 'react'; import { ConditionFunc } from './Node'; import { IconName } from '@unidata/icon'; declare type NodeKey = string; export interface ITreeNode { key: NodeKey; expanded: boolean; parent?: ITreeNode; children: Array> | null; row: T; path?: string; type?: string; icon?: IconName; root?: boolean; iconCls?: string; disabled?: boolean; selected?: boolean; isEdited?: boolean | ConditionFunc; readOnly?: boolean; isLastInLevel?: boolean; } export interface ITreeColumn { name: string; displayName: string; renderer?: (node: ITreeNode) => React.ReactNode; } export interface IFlatListItem { nodeId: string; path?: string; name: string; parentId: string | null; model: T; } export {};