/** * Conversions from the workspace-state typed failure family into CLI-facing * `AppError` values. Each converter reproduces the detail template its * construction sites rendered before decoupling — the byte-for-byte contract * for this family lives in the table-driven conversion tests. * * @experimental This API is unstable and may change without notice. */ import type { MaterializedTreeInvalid, PathTraversalDetected } from "@agentxm/workspace/desired-state"; import { type AppError } from "../app-error.js"; export declare const pathTraversalDetectedToAppError: (error: PathTraversalDetected) => AppError; /** Translate a fork validation failure; the site owns the fact sentence. */ export declare const materializedTreeInvalidToAppError: (error: MaterializedTreeInvalid) => AppError; /** Translate an incompletely enumerable desired-state graph. */ //# sourceMappingURL=workspace-state.d.ts.map