import { RedBlackTreeEntry, RedBlackTreeStructure } from '../internals'; /** * Retrieves the last entry 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 input tree * @returns {([K, V]|undefined)} A key/value tuple for the last entry in the tree, or undefined if the tree was empty */ export declare function last(tree: RedBlackTreeStructure): RedBlackTreeEntry | undefined;