import { type ArrayOrValue } from '../array/array'; import { type Maybe } from '../value/maybe.type'; /** * Combines multiple Maps into a single Map. Later maps override earlier values for the same key. * * @param maps - The maps to combine (null/undefined maps are skipped) * @returns A new Map containing all entries */ export declare function combineMaps(...maps: Maybe>[]): Map; /** * Sets the same value for one or more keys in a Map. * * @param map - The map to set values on * @param key - A single key or array of keys to set * @param value - The value to set for all keys * @returns The modified map */ export declare function setKeysOnMap(map: Map, key: ArrayOrValue, value: T): Map; /** * Converts a Map to an array of key-value tuples. * * @param map - The map to convert * @returns An array of [key, value] tuples */ export declare function mapToTuples(map: Map): [K, T][]; /** * Expands a Map with array values into individual key/value tuples. * * @param map - A Map where values are arrays * @returns An array of [key, value] tuples, one for each element in each array */ export declare function expandArrayMapTuples(map: Map): [K, T][]; /** * Expands tuples where values may be arrays into individual key/value tuples. * * @param values - Array of [key, ArrayOrValue] tuples to expand * @returns An array of [key, value] tuples */ export declare function expandArrayValueTuples(values: [K, ArrayOrValue][]): [K, T][];