/**
* Count the number of elements that match a given condition.
*
* @example countBy([1, 2, 3, 4, 5], (x) => x % 2 === 0) // => 2
*/
export declarefunctioncountBy<T>(array: readonly T[], predicate: (arg: T) => boolean): number;
//# sourceMappingURL=countBy.d.ts.map