///
import React, { Component } from 'react';
declare class TreeView extends Component {
state: {
data: {
name: string;
uid: string;
toggled: boolean;
children: any[];
loading: boolean;
};
skip: number;
cursor: {};
totalCounts: any;
hasMore: boolean;
searchInput: any;
loading: boolean;
hasSearch: boolean;
};
canFetch: boolean;
locationState: any;
initialState: any;
nestedLimit: any;
limitForRoot: any;
componentDidMount(): Promise;
fetchNewFolders: () => void;
updateCbRefrence: (node: any) => void;
componentWillUnmount(): void;
iterateAndClearData: ({ node, action }: {
node: any;
action: any;
}) => void;
clearSelection: ({ action }: {
action?: string;
}) => void;
fetchInitRootData: () => Promise;
fetchMoreRootData: () => Promise;
handleLoadMoreClick: (node: any) => Promise;
onToggle: (node: any, _toggled: any) => void;
debounceSearch: import("lodash").DebouncedFunc<() => Promise>;
onInputChange: (value: any) => void;
render(): React.JSX.Element;
}
export default TreeView;