import { MathOptions } from './mathoptions'; /** * Computes the average of the iterable sequence. * * @export * @param {Iterable} source The source iterable sequence to compute the average. * @param {MathOptions} [options] The options for calculating the average. * @returns {number} The computed average for the iterable sequence. */ export declare function average(source: Iterable, options?: MathOptions): number; /** * Computes the average of the iterable sequence. * * @export * @template T The type of elements in the source sequence. * @param {Iterable} source The source iterable sequence to compute the average. * @param {MathOptions} [options] The options for calculating the average. * @returns {number} The computed average for the iterable sequence. */ export declare function average(source: Iterable, options?: MathOptions): number;