import { Wrappable } from '../../types/iterable'; declare function findBestOr(notFoundValue: N, comparer: (best: T, value: T) => boolean): (iterable: Wrappable) => T | N; declare function findBestOr(notFoundValue: N, comparer: (best: T, value: T) => boolean, iterable: Wrappable): T | N; declare function findBestOr(notFoundValue: N, comparer: (best: S, value: S) => boolean, mapper: (value: T, i: number) => S): (iterable: Wrappable) => T | N; declare function findBestOr(notFoundValue: N, comparer: (best: S, value: S) => boolean, mapper: (value: T, i: number) => S, iterable: Wrappable): T | N; export { findBestOr };