/** Discriminator for `CLIError`, used by tests and the dispatcher. */ export type CLIErrorCode = "NOT_AUTHENTICATED" | "USER_CANCELLED" | "ALREADY_AUTHENTICATED" | "OAUTH_FAILED" | "KEYCHAIN_FAILURE"; /** * Thrown from a verb's `run` to signal a known failure. The * dispatcher writes `message` to stderr and exits with `exitCode`. */ export declare class CLIError extends Error { readonly code: CLIErrorCode; readonly exitCode: number; constructor(code: CLIErrorCode, message: string); } /** Returns the `message` of an `Error`, or its `String` coercion otherwise. */ export declare function describeError(err: unknown): string;