/// <reference types="@rbxts/compiler-types" />
/**
 * Utilites relating to Map objects
 */
export declare namespace MapUtils {
    /**
     * Creates a shallow copy of a map
     * @param map The map to copy
     * @returns A shallow copy of the map
     */
    function Copy<K, V>(map: ReadonlyMap<K, V>): Map<K, V>;
    /**
     * Gets the value of this map, or creates the key with the default value if it doesn't exist.
     * @param map The map
     * @param key The key to get the value or "place" a default value in
     * @param defaultValue The default value if the key doesn't exist (to set)
     * @returns The value
     */
    function GetOrCreateKey<K, V>(map: Map<K, V>, key: K, defaultValue: V): V;
}
