UNPKG

@mui/x-tree-view

Version:

The community edition of the MUI X Tree View components.

36 lines 1.4 kB
import { TreeViewRootSelector } from "../../utils/selectors.js"; import { UseTreeViewIdSignature } from "./useTreeViewId.types.js"; /** * Get the id attribute of the tree view. * @param {TreeViewState<[UseTreeViewIdSignature]>} state The state of the tree view. * @returns {string} The id attribute of the tree view. */ export declare const selectorTreeViewId: ((state: import("./useTreeViewId.types.js").UseTreeViewIdState & Partial<{}> & { cacheKey: import("../../models/index.js").TreeViewStateCacheKey; }) => string | undefined) & { clearCache: () => void; resultsCount: () => number; resetResultsCount: () => void; } & { resultFunc: (resultFuncArgs_0: { treeId: string | undefined; providedTreeId: string | undefined; }) => string | undefined; memoizedResultFunc: ((resultFuncArgs_0: { treeId: string | undefined; providedTreeId: string | undefined; }) => string | undefined) & { clearCache: () => void; resultsCount: () => number; resetResultsCount: () => void; }; lastResult: () => string | undefined; dependencies: [TreeViewRootSelector<UseTreeViewIdSignature>]; recomputations: () => number; resetRecomputations: () => void; dependencyRecomputations: () => number; resetDependencyRecomputations: () => void; } & { memoize: typeof import("reselect").weakMapMemoize; argsMemoize: typeof import("reselect").weakMapMemoize; };