import { ValidationException } from './ValidationException'; /** * Is the value a plain object? * See: https://masteringjs.io/tutorials/fundamentals/pojo * * @example * ```ts * isPlainObject({}) // true * isPlainObject(new Person()) // false * ``` * * @param value the value to check * @returns a boolean indicating whether the value is the expected type */ export declare const isPlainObject: (value: unknown | Record) => value is Record; /** * Validate that the value is a plain object. * See: https://masteringjs.io/tutorials/fundamentals/pojo * * @example * ```ts * validatePlainObject({}) // null * validatePlainObject(new Person()) // ValidationException * ``` * * @param value the value to check * @returns `null` if the value is the expected type or a `ValidationException` * if not */ export declare const validatePlainObject: (value: unknown) => ValidationException | null; /** * Assert that the value is a plain object. * See: https://masteringjs.io/tutorials/fundamentals/pojo * * @example * ```ts * assertPlainObject({}) // void * assertPlainObject(new Person()) // throws AssertionException * ``` * * @param value the value to check * @throws an `AssertionException` if the value is not the expected type */ export declare const assertPlainObject: (value: unknown | Record) => asserts value is Record;