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