/** * Safe failure shaping shared by SDK transports and reconciliation stores. * Provider error text is retained only in the local diagnostic log; wire and * persisted reconciliation details expose a fixed redacted message. */ export declare const PROMPT_FAILURE_CODE_MAX = 64; /** Safe-token code capped at 64; arbitrary failure text is never retained. */ export declare function sanitizePromptFailure(error: unknown): { code: string; message: string; }; /** Best-effort local diagnostic text that never crosses the SDK boundary. */ export declare function formatPromptFailureForLocalLog(error: unknown): string;