import { ComparatorFn } from '@collectable/core'; import { RedBlackTreeStructure } from './RedBlackTree'; import { Node } from './node'; import { PathNode } from './path'; export declare function findNodeByKey(key: K, tree: RedBlackTreeStructure): Node | undefined; export declare function findIndex(key: K, node: Node, compare: ComparatorFn): number; export declare function findPathToNodeByKey(key: K, node: Node, compare: ComparatorFn): PathNode; export declare function findMaxNodeLeftOfKey(allowExactKeyMatch: boolean, key: K, tree: RedBlackTreeStructure): Node | undefined; export declare function findPathToMaxNodeLeftOfKey(allowExactKeyMatch: boolean, key: K, node: Node, parent: PathNode, compare: ComparatorFn): PathNode | undefined; export declare function findMinNodeRightOfKey(allowExactKeyMatch: boolean, key: K, node: Node, compare: ComparatorFn): Node | undefined; export declare function findPathToMinNodeRightOfKey(allowExactKeyMatch: boolean, key: K, node: Node, parent: PathNode, compare: ComparatorFn): PathNode | undefined; export declare function findByIndex(index: number, tree: RedBlackTreeStructure): Node | undefined; export declare function findPathToIndex(index: number, node: Node): PathNode; export declare function findNext(compare: ComparatorFn, reversed: boolean, inclusive: boolean, key: K, current: PathNode): PathNode | undefined;