/// <reference types="react" />
import './index.less';
interface IHierarchy<T> {
    hierarchyId: string | number;
    name: string;
    entities?: T[];
    hierarchies: IHierarchy<T>[];
}
interface IProps<T> {
    className?: string;
    data: IHierarchy<T>[];
    entityKey: keyof T;
    renderNode: (item: T) => any;
}
declare function TreeList<T>(props: IProps<T>): JSX.Element;
export default TreeList;
