import type { ConversationMessage } from "@threadbase-sh/scanner"; /** * A scanner-parsed message → one Claude Code JSONL line, the only shape * mobile's live parser (`parseLineToMessage`) renders. * * Content comes from the same scanner parse that serves the message over REST, * so a live bubble and its reloaded copy carry the same blocks and ids: * thinking, text, tool_use (toolUseBlocks), tool_result (toolResults). */ export declare function toClaudeShapedLine(message: ConversationMessage, uuid: string): string; /** * A scanner tool result's content as the string a client renders. Codex results * carry their program output as `content.output`: send that verbatim, the way a * live Claude tool_result carries its text, not a JSON object whose newlines * arrive escaped. Every other result keeps its JSON form. */ export declare function toolResultText(content: Record | undefined): string; //# sourceMappingURL=claudeShapedLine.d.ts.map