import { AsyncWrappable } from '../../types/async-iterable'; declare function asyncFindBest(comparer: (best: T, value: T) => boolean): (iterable: AsyncWrappable) => Promise; declare function asyncFindBest(comparer: (best: T, value: T) => boolean, iterable: AsyncWrappable): Promise; declare function asyncFindBest(comparer: (best: S, value: S) => boolean, mapper: (value: T, i: number) => S | Promise): (iterable: AsyncWrappable) => Promise; declare function asyncFindBest(comparer: (best: S, value: S) => boolean, mapper: (value: T, i: number) => S | Promise, iterable: AsyncWrappable): Promise; export { asyncFindBest };