import type { PipelineStateValueV1 } from '../../../sdk'; import type { SummaryCardProps, SummaryCardStatus } from '../SummaryCard/SummaryCard.types'; export interface SourceSummaryProps { /** Index of the source to summarize. Defaults to the first source. */ sourceIndex?: number; status?: SummaryCardStatus; secondaryStatus?: SummaryCardStatus; /** * This source's collector run state. Rendered next to the collector lifecycle * status and separately from the optional diagnostic `secondaryStatus`. * Omitted where nothing is deployed yet (the create wizard's review step). */ state?: PipelineStateValueV1; collapsible?: SummaryCardProps['collapsible']; isCollapsed?: SummaryCardProps['isCollapsed']; onToggleCollapse?: SummaryCardProps['onToggleCollapse']; collapseAriaLabel?: SummaryCardProps['collapseAriaLabel']; expandAriaLabel?: SummaryCardProps['expandAriaLabel']; menu?: SummaryCardProps['menu']; }