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