declare module "@extra-array/count-as" {
import type { mapFn } from "./_types";
/**
 * Counts occurrences of values.
 * @param x an array
 * @param fm map function (v, i, x)
 * @returns Map {value => count}
 */
declare function countAs<T, U = T>(x: Iterable<T>, fm?: mapFn<T, T | U>): Map<T | U, number>;
export = countAs;
//# sourceMappingURL=countAs.d.ts.map}
