/** * Tests if the first argument is truthy, and throws the passed message if it is not. * * @param {any} ok Value to test for truthiness * @param {string} message Message to be thrown on failure. `%s` placeholders are replaced * in sequence with the arguments provided after the message. * @param {...any} substitutions Values to inject into the message on failure. * * @throws Error * @category Errors */ export default function assert(ok: any, message: string, ...substitutions: any[]): void; export function fail(...args: any[]): void; export function assertIsArray(ok: any, ...args: any[]): void; export function assertIsObject(ok: any, ...args: any[]): void; export function assertIsPlainObject(ok: any, ...args: any[]): void; export function assertIsString(ok: any, ...args: any[]): void; export function assertIsNumber(ok: any, ...args: any[]): void;