import { IterableX } from '../../iterable/iterablex';
/**
 * @ignore
 */
export declare function maxByProto<TSource, TKey>(this: IterableX<TSource>, keyFn: (x: TSource) => TKey, cmp?: (x: TKey, y: TKey) => number): IterableX<TSource>;
declare module '../../iterable/iterablex' {
    interface IterableX<T> {
        maxBy: typeof maxByProto;
    }
}
