import { type ExitCode } from "./exit-codes.js"; /** The envelope `--json` prints on stderr, plus the exit code it earns. */ export interface Failure { error: string; code: string; next_step: string; exit: ExitCode; } /** What went wrong, as the caller reads it: the sentence, the code, the next step, the exit code. */ export declare const describeFailure: (error: unknown, secrets?: readonly string[]) => Failure; //# sourceMappingURL=errors.d.ts.map