export type ToolEventStatus = 'running' | 'success' | 'error' | 'timeout' | 'cancelled'; export interface ToolEventRenderInput { toolName?: string; args?: Record; data?: string; durationMs?: number; status?: ToolEventStatus; errorType?: string; } export interface ToolEventRenderOptions { markdown?: boolean; includeResultPreview?: boolean; maxLines?: number; maxLineLength?: number; } export declare function formatDuration(durationMs?: number): string; export declare function truncateLines(text: string, maxLines?: number, maxLineLength?: number): string; export declare function renderToolActivityLine(input: ToolEventRenderInput): string; export declare function renderToolStart(input: ToolEventRenderInput, options?: ToolEventRenderOptions): string; export declare function renderToolEnd(input: ToolEventRenderInput, options?: ToolEventRenderOptions): string; export declare function renderToolSpinnerText(input: ToolEventRenderInput): string; //# sourceMappingURL=ToolEventRenderer.d.ts.map