/** * Method for handling retrieving a map value. This will inject a provided default value if the key does not return * a valid value. This will not work as expected if 'undefined' is a valid expected value. */ export declare function mapInjectDefault(map: Map, key: T, defaultValue: U | (() => U)): U; /** * Method for handling retrieving a map value. This will provide a provided default value with no mutation to the map. * This will not work as expected if 'undefined' is a valid expected value. */ export declare function mapGetWithDefault(map: Map, key: T, defaultValue: U | (() => U)): U;