/** * Color utilities for workflow event markers */ import type { Event } from '@workflow/world'; export interface EventColorPalette { /** Color of the diamond/marker itself */ color: string; /** Background color for hover info popup */ background: string; /** Border color for hover info popup */ border: string; /** Text color for event name in hover popup */ text: string; /** Secondary text color for timestamp in hover popup */ secondary: string; } /** * Get the color palette for an event based on its type * - Red for failures (step_failed, run_failed) * - Orange/yellow for retries (step_retrying) * - Purple for webhook-related events * - Blue otherwise (default) */ export declare function getEventColor(eventType: Event['eventType']): EventColorPalette; /** * Determine whether to show a vertical line for an event * - Show vertical lines for hook-related events * - Hide vertical lines for all other workflow events by default */ export declare function shouldShowVerticalLine(eventType: Event['eventType']): boolean; //# sourceMappingURL=event-colors.d.ts.map