/// import type { RequestConfig, SafeKey } from "../../_util/type"; import type { BasicDataNode, DataNode, FilledFieldNames } from '../interface'; export default function (fieldNames: FilledFieldNames, customizeLoadedKeys?: SafeKey[], request?: RequestConfig, lazyLoad?: boolean | string): { loading: boolean; treeData: TreeDataType[]; loadingKeys: SafeKey[]; loadedKeys: SafeKey[]; loadData: ((data: TreeDataType) => Promise) | undefined; setTreeData: import("react").Dispatch>; };