API/api.medcify.app/node_modules/@pm2/io/build/main/utils/BinaryHeap.d.ts
2022-09-26 11:41:44 +05:30

17 lines
423 B
TypeScript

export default class BinaryHeap {
private _elements;
constructor(options: any);
add(): void;
first(): any;
removeFirst(): any;
clone(): BinaryHeap;
toSortedArray(): any[];
toArray(): never[];
size(): any;
_bubble(bubbleIndex: any): void;
_sink(sinkIndex: any): void;
_parentIndex(index: any): number;
_childIndexes(index: any): number[];
_score(element: any): any;
}