/*!
 * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
 * Licensed under the MIT License.
 */
export interface Comparer<T> {
    compare(a: T, b: T): number;
    min: T;
}
export declare class Heap<T> {
    comp: Comparer<T>;
    private L;
    count(): number;
    constructor(a: T[], comp: Comparer<T>);
    peek(): T;
    get(): T;
    add(x: T): void;
    private fixup;
    private fixDown;
}
//# sourceMappingURL=heap.d.ts.map