import { Component } from 'react'; import TreeNode from './TreeNode'; import { TreeProps } from './iTree'; declare class Tree extends Component { static defaultProps: { clsPrefix: string; checkable: boolean; showIcon: boolean; openAnimation: { enter(node: HTMLElement, done: Function): { stop(): void; }; leave(node: HTMLElement, done: Function): { stop(): void; }; appear(node: HTMLElement, done: Function): { stop(): void; }; }; }; render(): JSX.Element; } export type TreeType = typeof Tree; type TreeNodeType = typeof TreeNode; export interface TreeInterface extends TreeType { TreeNode: TreeNodeType; } declare const TreeWrapper: TreeInterface; export default TreeWrapper;