import { RedBlackTreeStructure } from './RedBlackTree'; import { BRANCH, Node } from './node'; import { PathNode } from './path'; export declare function rotateLeft(upper: PathNode, parent: Node, child: Node, tree: RedBlackTreeStructure): Node; export declare function rotateRight(upper: PathNode, parent: Node, child: Node, tree: RedBlackTreeStructure): Node; export declare function rotateLeftRight(upper: PathNode, grandParent: Node, parent: Node, child: Node, tree: RedBlackTreeStructure): Node; export declare function rotateRightLeft(upper: PathNode, grandParent: Node, parent: Node, child: Node, tree: RedBlackTreeStructure): Node; export declare function swapNodeContents(upper: Node, lower: Node): void; export declare function swapNodeColors(upper: Node, lower: Node): void; export declare function setChild(branch: BRANCH, parent: Node, child: Node): void; export declare function updateCount(node: Node): void;