/** * CollapsibleSectionHeader * * Section header for a collapsible section that can be used within P1 * * Callers own the expanded state and the id wiring, so this stays presentational. */ import React from 'react'; export interface CollapsibleSectionHeaderProps { title: string; open: boolean; onToggle: () => void; /** Id of the region this header controls, for aria-controls. */ controlsId: string; id?: string; /** Item count shown beside the chevron. Omitted when there is nothing to count. */ count?: number; /** * A control for the section itself. It renders beside the toggle rather than * inside it, since a control within the button would nest one interactive * element in another. */ action?: React.ReactNode; } export declare function CollapsibleSectionHeader({ title, open, onToggle, controlsId, id, count, action, }: CollapsibleSectionHeaderProps): React.ReactElement;