import { IGetCompareValue } from '@datastructures-js/heap'; import { PriorityQueue } from './priorityQueue'; import { LegacyOptions } from './minPriorityQueue'; export interface MaxPriorityQueue extends PriorityQueue { enqueue(value: T): MaxPriorityQueue; push(value: T): MaxPriorityQueue; } export const MaxPriorityQueue: { new (options?: IGetCompareValue | LegacyOptions | null | undefined, values?: T[]): MaxPriorityQueue; fromArray(values: T[], options?: IGetCompareValue | LegacyOptions | null | undefined): MaxPriorityQueue; };