/** * Groups elements of an array into a Map based on a given iteratee function. * Unlike groupBy which returns Record, this preserves insertion order * and allows any key type (including objects and symbols). * @param array Array to group * @param iteratee Function to determine the group key for each element * @returns Map with grouped elements keyed by the iteratee result * @example * groupByToMap([6.1, 4.2, 6.3], Math.floor); // Map { 6 => [6.1, 6.3], 4 => [4.2] } * groupByToMap(["one", "two", "three"], (str) => str.length); // Map { 3 => ['one', 'two'], 5 => ['three'] } */ export declare const groupByToMap: (array: T[], iteratee: (value: T, index: number, array: T[]) => K) => Map;