import { type Doc } from "../screen/index.js"; import { type AppError } from "./app-error.js"; /** * One problem shape for every error kind: a title with its code and exit code * as an aside, the reason, the inputs and identifiers as fields, and every * recovery as a copyable `next` command. Verbose and debug levels add the * request, the response, and the cause chain beneath the fields. */ export declare const appErrorDoc: (error: AppError, options?: { readonly verbose: boolean; readonly debug: boolean; }) => Doc; /** * A defect has no category of its own, so it reads as an internal problem: * the message it carried as the reason, and the report link as its recovery. */ export declare const defectDoc: (error: unknown) => Doc; export declare const renderAppError: (error: AppError, options?: { readonly verbose: boolean; readonly debug: boolean; }) => string; //# sourceMappingURL=view.d.ts.map