import { Existent, Primitive, ValueIteratee } from '../interfaces'; /** @hidden */ export declare function findExtreme(array: T[], iteratee: ValueIteratee, shouldReplace: (candidate: Primitive, current: Primitive) => boolean): T;