import { ValidationException } from './ValidationException'; /** * Is the value an Array? * See: https://developer.mozilla.org/en-US/docs/Glossary/array * * @example * ```ts * isArray([1]) // true * isArray(1) // false * ``` * * @param value the value to check * @returns a boolean indicating whether the value is the expected type */ export declare const isArray: (value: unknown | T[]) => value is T[]; /** * Validate that the value is an Array. * See: https://developer.mozilla.org/en-US/docs/Glossary/array * * @example * ```ts * validateArray([1]) // null * validateArray(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 validateArray: (value: unknown | T[]) => ValidationException | null; /** * Assert that the value is an Array. * See: https://developer.mozilla.org/en-US/docs/Glossary/array * * @example * ```ts * assertArray([1]) // void * assertArray(1) // throws AssertionException * ``` * * @param value the value to check * @throws an `AssertionException` if the value is not the expected type */ export declare const assertArray: (value: unknown | T[]) => asserts value is T[];