import React from 'react'; export interface NodeProps { id?: string; label?: string; expand?: string; children?: string; } export interface DataProps { id?: string | number; label?: React.ReactNode; conditionList?: React.ReactNode; children?: DataProps[]; [props: string]: any; } export interface OrgTreeProps { data: DataProps; labelWidth?: string | number; horizontal?: boolean; collapsable?: boolean; expandAll?: boolean; activeId: string | number; node?: NodeProps; labelClassName?: string; conditionClassName?: string; onClick?: (e: React.MouseEventHandler, data: DataProps) => void; onConditionClick?: (e: React.MouseEventHandler, data: DataProps) => void; renderContent?: (data: DataProps) => void; } declare const OrgTree: React.FC; export default OrgTree;