import React from "react"; import type { FeatureKey } from "../atoms/SubscriptionGuard/PlanLimits.types"; import type { AttendanceInsightsPeriod } from "../../pages/HomePage/HomePage.types"; export type SummaryDetailLine = { label: string; value: string; }; export type SummaryHeaderProps = { embedded?: boolean; overline: string; caption?: string; /** Explains a metric that stays visible when equal columns replace the caption. */ note?: string; /** Primary figure. Omitted when `metrics` supplies equal columns. */ value?: string; isLoading?: boolean; /** Equal side-by-side figures. Replaces caption, value, and detail lines. */ metrics?: SummaryDetailLine[]; detailLines?: SummaryDetailLine[]; /** * When the bar collapses, keep the caption, primary figure, and detail * lines in one compact column row, and keep the add button. */ keepSummaryWhenCollapsed?: boolean; period?: AttendanceInsightsPeriod; onPeriodChange?: (period: AttendanceInsightsPeriod) => void; onAdd?: () => void; addLabel?: string; addQuotaFeature?: FeatureKey; actionLabel?: string; onAction?: () => void; testIdPrefix?: string; actionTestId?: string; }; declare const SummaryHeader: React.FC; export default SummaryHeader;