import type { Message } from '../session/session-jsonl.js'; import type { Message as PiMessage } from '../../provider/pi-ai-types.js'; type RoundTripContentBlock = { type?: string; id?: string; tool_use_id?: string; }; type ThinkingRoundTripMessage = { role: string; content: string | RoundTripContentBlock[]; thinking?: string[]; }; export declare function shouldRoundTripAssistantThinking(messages: readonly ThinkingRoundTripMessage[], index: number, options?: { thinkingMode?: boolean; }): boolean; export declare function convertMessagesToPi(messages: Message[], modelInfo: { api: string; provider: string; id: string; reasoning?: unknown; }): PiMessage[]; export {}; //# sourceMappingURL=message-convert.d.ts.map