import { type ExitCode } from "./exit-codes.js"; /** * Every failure this command reports carries a machine-readable code and one * next step: Stripe's headless envelope (`next_step`, ledger README P13), * netlify's `{"error": {"code", "fix"}}` (the one third-party tool measured * with a code), and MCP's two error classes (a malformed request versus a * request that ran and failed). An API fault keeps Relay's own numeric code as * a string; a fault inside this command takes one of the names below, and * nowhere else defines one (decided 2026-09-10, fix rows 4 and 5). */ export declare const CLI_ERROR_CODES: readonly ["usage", "not_a_tty", "no_runtime", "no_token", "signin_expired", "not_found", "network", "refused", "outdated"]; export type CliErrorCode = (typeof CLI_ERROR_CODES)[number]; /** One sentence per code, and no two codes share one (the test proves it). */ export declare const NEXT_STEP: Record; export declare const EXIT_FOR: Record; /** A failure inside this command, named. Anything thrown without a name is `refused`. */ export declare class CliError extends Error { readonly code: CliErrorCode; constructor(message: string, code: CliErrorCode); } //# sourceMappingURL=error-codes.d.ts.map