import { RedBlackTreeKeyIterator, RedBlackTreeStructure } from '../internals'; /** * Returns a key iterator; one for each entry in the tree. The iterator is guaranteed to iterate in the same order as * the corresponding entries in the 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 read values from * @returns {IterableIterator} An iterable iterator that will visit each key in the tree */ export declare function iterateKeysFromFirst(tree: RedBlackTreeStructure): RedBlackTreeKeyIterator; /** * Alias for `iterateKeysFromFirst()`. * * Returns a key iterator; one for each entry in the tree. The iterator is guaranteed to iterate in the same order as * the corresponding entries in the 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 read values from * @returns {IterableIterator} An iterable iterator that will visit each key in the tree */ export declare function keys(tree: RedBlackTreeStructure): RedBlackTreeKeyIterator;