/** * Conversions from the registry-client typed failure families into CLI-facing * `AppError` values. Each converter is a field copy: the categories use the * same strings as the application error codes, problem-details display data * and request/response/requestPolicy metadata carry over verbatim, and * per-category default titles and details apply exactly where the former * in-registry translation applied them. The byte-for-byte contract lives in * the golden-pair conversion tests. * * @experimental This API is unstable and may change without notice. */ import { type RegistryClientFailure, type RegistryOperationFailed, type RegistryProblem, type RegistryRequestFailed } from "@agentxm/registry-client"; import { type AppError } from "../app-error.js"; /** A problem-details response: registry-supplied display data over defaults. */ export declare const registryProblemToAppError: (error: RegistryProblem) => AppError; /** A request that failed without a problem document. */ export declare const registryRequestFailedToAppError: (error: RegistryRequestFailed) => AppError; /** An operational registry failure outside request transport. */ export declare const registryOperationFailedToAppError: (error: RegistryOperationFailed) => AppError; /** Convert any registry-client failure into the CLI-facing envelope. */ export declare const registryFailureToAppError: (error: RegistryClientFailure) => AppError; //# sourceMappingURL=registry-client.d.ts.map