export declare function setAgentTelemetry(data: Record): void; export interface ErrorDetails { /** Stable machine-readable error code. */ code?: string; /** Failure domain: validation, runtime, governance, configuration, io, etc. */ category?: string; /** Human-readable recovery hint. */ suggestion?: string; /** Link or path to relevant documentation. */ documentation?: string; /** Additional structured context; merged into the output object. */ [key: string]: unknown; } export declare function printJson(obj: unknown): void; /** * Emit a deterministic, machine-readable error and exit. * * Backward-compatible signatures: * printError(message, kind, code) * printError(message, { code, category, suggestion, documentation, ... }, code) * * Output shape (stable): * { status: "error", kind: , error: , ...details } */ export declare function printError(error: string, kindOrDetails?: string | ErrorDetails, code?: number): never;