import type { WorkflowJob, WorkflowStep } from './types.js'; export interface StepSummarySource { /** The `subworkflows//step_/` chain of a step inside a subworkflow; empty at the top level. */ prefix: string; job: string; /** The job's name, after the names of the jobs whose subworkflows it runs in. */ jobNames: string[]; index: number; step: WorkflowStep; } /** The steps, subworkflows' included, that wrote a summary, in the order their jobs completed. */ export declare function stepSummarySources(jobs: Record): StepSummarySource[]; /** * A run's step summaries, each on its own card headed by the job and step that wrote it, so a run * reads like a report under its graph. The job list beside the graph already shows the run's tree, * so the cards are flat. */ export declare function StepSummaries({ runSlug, jobs, onOpenLog, }: { runSlug: string; jobs: Record; onOpenLog: (source: StepSummarySource) => void; }): import("react").JSX.Element | null;