import { PreferredContext } from '@collectable/core'; import { RedBlackTreeStructure } from '../internals'; /** * Returns a copy of a tree, preserving the mutable/immutable status of the input tree. * * @export * @template K The type of keys in the tree * @template V The type of values in the tree * @param {RedBlackTreeStructure} tree The tree to be cloned * @returns {RedBlackTreeStructure} A cloned instance of the input tree */ export declare function clone(tree: RedBlackTreeStructure, mutability?: PreferredContext): RedBlackTreeStructure;