import { ValidationException } from './ValidationException'; /** * Is the value a Map? * See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map * * @example * ```ts * isMap(new Map()) // true * isMap(1) // false * ``` * * @param value the value to check * @returns a boolean indicating whether the value is the expected type */ export declare const isMap: (value: unknown | Map) => value is Map; /** * Validate that the value is a Map. * See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map * * @example * ```ts * validateMap(new Map()) // null * validateMap(1) // ValidationException * ``` * * @param value the value to check * @returns `null` if the value is the expected type or a `ValidationException` * if not */ export declare const validateMap: (value: unknown) => ValidationException | null; /** * Assert that the value is a Map. * See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map * * @example * ```ts * assertMap(new Map()) // void * assertMap(1) // throws AssertionException * ``` * * @param value the value to check * @throws an `AssertionException` if the value is not the expected type */ export declare const assertMap: (value: unknown | Map) => asserts value is Map;