export declare const maxBy: (source: AsyncIterable, selector: (x: TSource) => number) => Promise;