import type { AgentMessage } from "indusagi/agent";
import type { AssistantMessage, ImageContent, TextContent, ToolCall, ToolResultMessage, UserMessage } from "indusagi/ai";
export declare function previewText(value: string, maxLength?: number): string;
export declare function safeStringify(value: unknown): string;
export declare function extractToolText(value: unknown, showImages: boolean): string;
export declare function previewMultiline(value: string, options?: {
    maxLines?: number;
    maxChars?: number;
}): string;
export declare function formatUserContent(content: UserMessage["content"], showImages: boolean): string;
export declare function splitAssistantMessage(message: AssistantMessage, showThinking: boolean): {
    text: string;
    thinking: string[];
    toolCalls: ToolCall[];
};
export declare function formatToolCall(toolCall: ToolCall): string;
export declare function formatToolResult(message: ToolResultMessage, showImages: boolean): string;
export declare function formatCustomContent(content: string | (TextContent | ImageContent)[], showImages: boolean): string;
export declare function formatMessageTimestamp(timestamp: number): string;
export declare function extractMessagePreview(message: AgentMessage): string;
export declare function parseSkillInvocation(content: string): {
    name: string;
    location: string;
    userMessage?: string;
} | null;
