import { DryRunResult } from '../types/DryRunResult.js'; declare class DryRunResultDecorator { readonly result: T; constructor(result: T); /** * Get a decorated `Error` object. */ get Error(): { error: { /** Get the JSON representation of this error (assuming it is a JSON string). */ json: () => any; /** Get the string representation of this error. */ text: () => unknown; }; }; /** * * @todo (crookse) Implement. * Get a decorated `Messages` object. */ get Messages(): unknown[]; /** * @todo (crookse) Implement. * Get a decorated `Spawns` object. */ get Spawns(): unknown[]; /** * Get a decorated `Output` object. */ get Output(): { data: { /** Get the JSON representation of this data (assuming it is a JSON string). */ json: () => T["Output"]["data"]; /** Get the string representation of this data. */ text: () => unknown; }; }; /** * Convert the given value to a JSON object. * @param value The value in question. * @returns The value as a JSON object. */ protected toJsonObject(value: unknown): any; } /** * Get a decorated `DryRunResult` object. * @param dryRunResult The `DryRunResult` object to decorate. * @returns A decorated `DryRunResult` object. */ declare function dryRunResult(dryRunResult: T): DryRunResultDecorator; export { DryRunResultDecorator, dryRunResult };