import { BaseCommand } from '../commands/baseCommand.js'; import { Diagnostics } from '../constructs/diagnostics.js'; export declare class CommandStyle { #private; private c; outputFormat?: string; constructor(command: BaseCommand); actionStart(message: string): void; actionStatus(message: string): void; actionSuccess(): void; actionFailure(): void; comment(message: string): void; longSuccess(title: string, message: string): void; shortSuccess(message: string): void; stepSuccess(message: string): void; longInfo(title: string, message: string): void; shortInfo(message: string): void; longWarning(title: string, message: string | Error): void; shortWarning(message: string): void; /** * `code` is a machine-readable reason for the failure (usually the API's * `errorCode`); it appears only in the JSON envelope. `cause` is the error * behind a `message` given as text, which wraps where an Error does not. */ longError(title: string, message: string | Error, { code, cause }?: { code?: string; cause?: unknown; }): void; shortError(message: string): void; diagnostics(diagnostics: Diagnostics): void; fatal(message: string): void; }