import type { TerminationReason } from './telemetry-types.js'; export interface CliExitContext { reason: TerminationReason; errorCode?: string; apiContext?: { status?: number; code?: string; resource?: string; }; } export declare class CliExit extends Error { readonly exitCode: number; readonly context?: CliExitContext | undefined; constructor(exitCode: number, context?: CliExitContext | undefined); }