/** * Conversions from the extension-resolution typed failure families into * CLI-facing `AppError` values. The resolution failure chose its category and * wording at construction, so the envelope carries those over 1:1; the * remaining families render a detail template whose byte-for-byte contract * lives in the table-driven conversion tests. * * @experimental This API is unstable and may change without notice. */ import { type AxmSkillCompatibilityUnavailable } from "@agentxm/cli-maintenance/official-skill/application"; import { type AxmSkillIncompatible } from "@agentxm/cli-maintenance/official-skill/domain"; import { type ExtensionResolutionFailed, type PackConstraintShadowed, type PackDependencyConflict, type PackDependencyInvalid, type PackDependencyMissing, type PackDependencyUnsatisfied, type SourceAuthorityBlocked } from "@agentxm/workspace/resolution"; import { type AppError } from "../app-error.js"; /** Translate a resolution policy failure. */ export declare const extensionResolutionFailedToAppError: (error: ExtensionResolutionFailed) => AppError; export declare const sourceAuthorityBlockedToAppError: (error: SourceAuthorityBlocked) => AppError; /** Translate a lifecycle postcondition violation, reproducing each phase's detail. */ export declare const axmSkillCompatibilityUnavailableToAppError: (_error: AxmSkillCompatibilityUnavailable) => AppError; /** Translate an incompatible official AXM skill with its recovery plan. */ export declare const axmSkillIncompatibleToAppError: (error: AxmSkillIncompatible) => AppError; /** Translate an invalid pack input; the site owns the fact sentence. */ export declare const packDependencyInvalidToAppError: (error: PackDependencyInvalid) => AppError; /** Translate a pack dependency conflict; the site owns the sentence. */ export declare const packDependencyConflictToAppError: (error: PackDependencyConflict) => AppError; /** Translate a shadowed pack constraint per pack source, with its recovery. */ export declare const packConstraintShadowedToAppError: (error: PackConstraintShadowed) => AppError; /** Translate a missing pack dependency. */ export declare const packDependencyMissingToAppError: (error: PackDependencyMissing) => AppError; /** Translate an unsatisfiable pack dependency constraint. */ export declare const packDependencyUnsatisfiedToAppError: (error: PackDependencyUnsatisfied) => AppError; /** Translate an invalid Knowledge input; the site owns the fact sentence. */ //# sourceMappingURL=extension-resolution.d.ts.map