/** * Enhanced Flow Display - Visualization options for workflows * * Provides multiple output formats and interactive modes. */ /** * Display format */ export type DisplayFormat = 'text' | 'markdown' | 'json' | 'tree' | 'mermaid'; /** * Flow step representation */ export interface FlowStep { id: string; name: string; status: 'pending' | 'running' | 'completed' | 'failed' | 'skipped'; duration?: number; input?: any; output?: any; error?: string; children?: FlowStep[]; } /** * Display options */ export interface FlowDisplayOptions { format?: DisplayFormat; showInput?: boolean; showOutput?: boolean; showDuration?: boolean; maxDepth?: number; colorize?: boolean; } /** * FlowDisplay - Workflow visualization */ export declare class FlowDisplay { private options; constructor(options?: FlowDisplayOptions); /** * Render flow */ render(steps: FlowStep[]): string; /** * Render as plain text */ private renderText; /** * Render as markdown */ private renderMarkdown; /** * Render as JSON */ private renderJson; /** * Render as tree */ private renderTree; /** * Render as Mermaid diagram */ private renderMermaid; /** * Get status icon */ private getStatusIcon; /** * Print to console */ print(steps: FlowStep[]): void; } /** * Create flow display */ export declare function createFlowDisplay(options?: FlowDisplayOptions): FlowDisplay; /** * Quick render */ export declare function renderFlow(steps: FlowStep[], format?: DisplayFormat): string; export default FlowDisplay;