UNPKG

@itwin/presentation-hierarchies-react

Version:

React components based on `@itwin/presentation-hierarchies`

23 lines 887 B
import "./DisposePolyfill.js"; import { HierarchyNode } from "@itwin/presentation-hierarchies"; /** @internal */ export declare function createNodeId(node: Pick<HierarchyNode, "key" | "parentKeys">): string; /** @internal */ export declare function sameNodes(lhs: HierarchyNode, rhs: HierarchyNode): boolean; /** @internal */ export declare const MAX_LIMIT_OVERRIDE = 10000; /** * A helper that disposes the given object, if it's disposable. * * The first option is to dispose using the deprecated `dispose` method if it exists on the object. * If not, we use the new `Symbol.dispose` method. If that doesn't exist either, the object is * considered as non-disposable and nothing is done with it. * * @internal */ export declare function safeDispose(disposable: {} | { [Symbol.dispose]: () => void; } | { dispose: () => void; }): void; //# sourceMappingURL=Utils.d.ts.map