///
import IVirtualConsolePrinter from './types/IVirtualConsolePrinter.cjs';
import { ConsoleConstructor } from 'console';
/**
* Virtual Console.
*
* @see https://developer.mozilla.org/en-US/docs/Web/API/Console
*/
export default class VirtualConsole implements Console {
#private;
Console: ConsoleConstructor;
/**
* Constructor.
*
* @param printer Console printer.
*/
constructor(printer: IVirtualConsolePrinter);
/**
* Writes an error message to the console if the assertion is false. If the assertion is true, nothing happens.
*
* @param assertion Assertion.
* @param args Arguments.
*/
assert(assertion: boolean, ...args: Array