import type { Writable } from 'node:stream'; /** * Writes a failure to the CLI's error stream: as its message alone when the user's own declaration caused it, * and with its stack otherwise. * * A stack records where nmr noticed a problem, which says nothing about the file a user has to edit; for nmr's * own fault it is where a report has to start. `describeError` covers an `Error` carrying no stack and a thrown * non-`Error` alike. */ export declare function reportCliFailure(error: unknown, stderr: Writable): void;