/** * Barrel for the session-recovery layer. * * RC-4 consolidated the `lib/recovery.ts` orchestration module into * `lib/recovery/hook.ts` alongside the existing storage / constants / types * submodules. This file exists to keep the public surface stable so every * consumer that imports from `./recovery` / `../lib/recovery` resolves exactly * as it did before the refactor. * * Split out of the former monolithic module so the filesystem-touching * recovery paths stay isolated and independently testable. */ export type { MessageInfo, MessageData, MessagePart, RecoveryErrorType, ResumeConfig, ToolResultPart, ToolUsePart, ThinkingPartType, MetaPartType, ContentPartType, StoredMessageMeta, StoredTextPart, StoredToolPart, StoredReasoningPart, StoredStepPart, StoredPart, } from "./recovery/types.js"; export { detectErrorType, isRecoverableError, getRecoveryToastContent, getRecoverySuccessToast, getRecoveryFailureToast, createSessionRecoveryHook, } from "./recovery/hook.js"; export type { SessionRecoveryHook, SessionRecoveryContext, } from "./recovery/hook.js"; //# sourceMappingURL=recovery.d.ts.map