import type { Message } from '../types/schemas/chat/conversations.js'; import type { ReasoningStep } from './reasoning.js'; type ParsedReasoning = { steps: ReasoningStep[]; thinkingTexts: Set; currentAnswerParts: string[]; currentAnswerStepTexts: Set; }; export type ReasoningCache = { bySignature: Map; byReference: WeakMap; }; export declare function createReasoningCache(): ReasoningCache; export declare function resolveReasoningDisplayMessages(messages: Message[], cache?: ReasoningCache): Message[]; export {};