import { ICompare } from "../interface/ICompare"; import { LinkNode } from "../linklist/LinkNode"; export interface HeapNode { value: T; degree: number; child?: LinkNode>; parent?: LinkNode>; } export declare class BinomialHeap { private compare; private head; private count; constructor(compare?: ICompare); readonly Count: number; readonly Head: LinkNode>; private setHead; clear(): void; isEmpty(): boolean; insert(value: T): LinkNode>; deleteExtremum(): T; private _findExtremum; findExtremum(): T; union(heap: BinomialHeap): this; private link; private mergeHeaps; }