declare module "@extra-array/partition-as" {
import type { mapFn } from "./_types";
/**
 * Segregates values by similarity.
 * @param x an array
 * @param fm map function (v, i, x)
 * @returns Map {key => values}
 */
declare function partitionAs<T, U = T>(x: Iterable<T>, fm?: mapFn<T, T | U>): Map<T | U, T[]>;
export = partitionAs;
//# sourceMappingURL=partitionAs.d.ts.map}
