/** * Gets the value of a map entry by its key, throwing if the map does not contain the key. * * @since 13.0.0 * @category Map * @param map Map to check against. * @param key Key to get the value for. * @returns The corresponding value. * @throws TypeError if map does not contain key. * @example * getExistingElseThrow(new Map([["key", 1]]), "key") * // => 1 * * getExistingElseThrow(new Map([["key", 1]]), "foo") * // => throws TypeError */ export declare const getExistingElseThrow: (map: ReadonlyMap, key: TKey) => UValue; //# sourceMappingURL=getExistingElseThrow.d.ts.map