import type { WorkflowExecutionEvent } from "@stigmer/protos/ai/stigmer/agentic/workflowexecution/v1/event_pb";
import type { WorkflowEventStreamState } from "../../internal/store/workflow-execution-event-store.js";
/** Props for {@link WaterfallTimeline}. */
export interface WaterfallTimelineProps {
    /** Events ordered by sequence_number ascending. */
    readonly events: readonly WorkflowExecutionEvent[];
    /** Current stream lifecycle state. */
    readonly streamState: WorkflowEventStreamState;
    /** ISO 8601 timestamp of execution start (from `execution_started.occurred_at` or `status.started_at`). */
    readonly executionStartIso: string;
    /** Total execution duration in ms (for completed executions). */
    readonly executionDurationMs?: number;
    /** Currently selected task name (synced with graph and inspector). */
    readonly selectedTaskName?: string | null;
    /** Called when the user clicks a task bar. */
    readonly onTaskSelect?: (taskName: string) => void;
    /** Additional CSS class names. */
    readonly className?: string;
}
/**
 * Execution waterfall timeline — horizontal bars showing task durations
 * against a time axis.
 *
 * Designed as an SDK component (DD-001): no Console or Desktop
 * dependencies. Receives events from the parent `WorkflowExecutionViewer`
 * (single subscription owner per DD-009).
 *
 * Selection is bidirectional: clicking a bar calls `onTaskSelect`;
 * changing `selectedTaskName` externally scrolls the waterfall to
 * that task's row.
 *
 * @example
 * ```tsx
 * <WaterfallTimeline
 *   events={events}
 *   streamState={streamState}
 *   executionStartIso={execution.status.startedAt}
 *   selectedTaskName={selectedTask}
 *   onTaskSelect={setSelectedTask}
 * />
 * ```
 *
 * @since T07
 */
export declare const WaterfallTimeline: import("react").NamedExoticComponent<WaterfallTimelineProps>;
//# sourceMappingURL=WaterfallTimeline.d.ts.map