/** * CLEO error code to LAFS canonical error code mapping. * * Maps CLEO's numeric exit codes (ExitCode enum) to LAFS error registry * string codes for protocol conformance. * * @deprecated Use `src/core/error-catalog.ts` instead. This registry is retained * for backward compatibility but will be removed in a future release. * Import from `error-catalog.ts` for the unified, complete error catalog. * * @task T4671 * @epic T4663 */ import { ExitCode } from '@cleocode/contracts'; import type { LAFSErrorCategory } from '@cleocode/lafs'; /** * Entry in the CLEO-to-LAFS error registry. * * @task T4671 * @epic T4663 */ export interface CleoRegistryEntry { exitCode: ExitCode; lafsCode: string; category: LAFSErrorCategory; description: string; retryable: boolean; httpStatus: number; } /** * Look up a registry entry by CLEO exit code. * * @task T4671 * @epic T4663 */ export declare function getRegistryEntry(exitCode: ExitCode): CleoRegistryEntry | undefined; /** * Look up a registry entry by LAFS string code. * * @task T4671 * @epic T4663 */ export declare function getRegistryEntryByLafsCode(lafsCode: string): CleoRegistryEntry | undefined; /** * Get the full CLEO error registry for conformance testing. * * @task T4671 * @epic T4663 */ export declare function getCleoErrorRegistry(): CleoRegistryEntry[]; /** * Check if a LAFS code is registered in the CLEO error registry. * * @task T4671 * @epic T4663 */ export declare function isCleoRegisteredCode(lafsCode: string): boolean; //# sourceMappingURL=error-registry.d.ts.map