import { ExtremaOptions } from './extremaoptions'; /** * Returns the elements in an async-iterable sequence with the maximum key value. * * @export * @template TSource The type of the elements in the source sequence. * @template TKey The type of the key computed for each element in the source sequence. * @param {AsyncIterable} source An async-iterable sequence to get the maximum elements for. * @param {ExtremaOptions} [options] The options which include an optional comparer and abort signal. * @returns {Promise} A promise containing a list of zero or more elements that have a maximum key value. */ export declare function maxBy(source: AsyncIterable, options?: ExtremaOptions): Promise;