import _ = require("../index"); declare module "../index" { interface LoDashStatic { /** * Computes the mean of the provided propties of the objects in the `array` * * @category Math * @param array The array to iterate over. * @param [iteratee=_.identity] The iteratee invoked per element. * @returns Returns the mean. * @example * * _.mean([{ 'n': 4 }, { 'n': 2 }, { 'n': 8 }, { 'n': 6 }], 'n'); * // => 5 */ meanBy( collection: List | null | undefined, iteratee?: ListIteratee ): number; } interface LoDashImplicitWrapper { /** * @see _.meanBy */ meanBy( this: LoDashImplicitWrapper | null | undefined>, iteratee?: ListIteratee ): number; } interface LoDashExplicitWrapper { /** * @see _.meanBy */ meanBy( this: LoDashExplicitWrapper | null | undefined>, iteratee?: ListIteratee ): LoDashExplicitWrapper; } }