import {RBTreeNode} from '../data-structures'; import {IBST, IBSTNode} from './bst'; import {BinaryTreeNodeId} from '../types'; export interface IRBTreeNode> extends IBSTNode { } export interface IRBTree> extends IBST { createNode(id: BinaryTreeNodeId, val?: N['val'], count?: number): N }