import { MathOptions } from './mathoptions'; /** * Computes the average of the async-iterable sequence. * * @export * @param {AsyncIterable} source The source async-iterable sequence to compute the average. * @param {AverageOptions} [options] The options for calculating the average. * @returns {Promise} A Promise which returns the computed average for the async-iterable sequence. */ export declare function average(source: AsyncIterable, options?: MathOptions): Promise; /** * Computes the average of the async-iterable sequence. * * @export * @template TSource The type of elements in the source sequence. * @param {AsyncIterable} source source async-iterable sequence to compute the average. * @param {AverageOptions} [options] The options for calculating the average. * @returns {Promise} A Promise which returns the computed average for the async-iterable sequence. */ export declare function average(source: AsyncIterable, options?: MathOptions): Promise;