teodor-new-chat-ui 4.3.677 → 4.3.679

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -22,8 +22,12 @@ export declare function formatToolOutput(x: any): {
22
22
  };
23
23
  export { parseJsonSafe, looksLikeMarkdown } from "@/shared/utils/jsonUtils";
24
24
  export { extractToolContent } from "@/features/persistence/checkpoints/utils/historyUtils";
25
- import type { MessagePart } from "@/types";
25
+ import type { ChatMessage, MessagePart } from "@/types";
26
26
  /**
27
27
  * Stringify tool call parts for display/debugging
28
28
  */
29
29
  export declare function stringifyTool(parts: MessagePart[]): string;
30
+ /**
31
+ * Check if a message has actual text or image content (not just tool calls)
32
+ */
33
+ export declare function hasContent(message: ChatMessage): boolean;