export default class Node { key: Key; data: Value; left: Node | null; right: Node | null; next: Node | null; constructor(key: Key, data?: Value); }