import * as React from 'react';
import { BaseTreeProps } from '../../components/Tree/index.d';
import { OrgItemType } from '@zenview/micro-basic-library/src/libs/store/org';

export interface OrgTreeProps extends BaseTreeProps<OrgItemType> {
  expandedKeys?: Array<string>;
  title?: React.ReactNode;
  inputPlaceholder?: string;
  renderHeader?: () => JSX.Element;
  activeKey?: string[] | string;
  treeData?: Array<OrgItemType>;
}

declare const OrgTree: React.ComponentClass<OrgTreeProps>;

export default OrgTree;
