export interface ToolCardSpec { toolName: string; status: 'running' | 'done' | 'error' | 'blocked'; elapsed?: number; inputSummary?: string; outputPreview?: string; diff?: { added: number; removed: number; file: string; }; collapsed?: boolean; batchBadge?: string; width?: number; } export declare function toolCard(spec: ToolCardSpec): string;