import Sequence from "./Sequence";
export declare class MaxWith {
    /**
     * Returns the maximum element of the sequence by evaluating the given `compare`
     * function or `null` if sequence is empty.
     *
     * @returns {T}
     */
    maxWith<T>(this: Sequence<T>, compare: (a: T, b: T) => number): T | null;
}
