import type { Command } from '@oclif/core'; import type { BaseCliRunCommand } from './base-cli-run-command.js'; import type { ThymianBaseCommand } from './thymian-base-command.js'; export type CachedError = { name: string; message: string; stack?: string | undefined; cause?: unknown | undefined; commandName: string; timestamp: number; argv: string[]; version: { architecture: string; cliVersion: string; nodeVersion: string; osVersion?: string; }; pluginVersions: { name: string; version: string; }[]; }; export declare class ErrorCache { private readonly dir; constructor(dir: string); write(error: CachedError): Promise; read(): Promise; reset(): Promise; static forCommand(command: ThymianBaseCommand | BaseCliRunCommand): ErrorCache; } //# sourceMappingURL=error-cache.d.ts.map