import { Sequence } from "../../sequency"; export declare class MaxBy { /** * Returns the maximum element by comparing the results of the given `selector` function * for each element of the sequence or `null` if the sequence is empty. * * @param {(value: T) => R} selector * @returns {T | null} */ maxBy(this: Sequence, selector: (value: T) => R): T | null; }