import { AsyncSequence } 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) => Promise | number} compare * @returns {Promise} */ maxWith(this: AsyncSequence, compare: (a: T, b: T) => Promise | number): Promise; }