import type { ValueErrorIterator } from "@sinclair/typebox/value"; export declare class LoggableError extends Error { private readonly logObj; private screenshot?; constructor(logObj: Record, message: string, options?: ErrorOptions); createLogObject(): Record; setScreenshot(screenshot?: Buffer): void; getScreenshotString(): string | undefined; static fromValidation(errors: ValueErrorIterator): LoggableError; }