import React, { PropsWithChildren } from 'react'; import type { HeadlineProps } from './Headline'; export interface CollapsibleHeadlineProps extends Omit { /** The headline text — always visible. */ header: React.ReactNode; /** Controlled expanded state. When omitted, the component manages its own state. */ expanded?: boolean; /** Called when the toggle is clicked. */ onToggle?: () => void; /** id of the panel element, used for aria-controls. Generated automatically if omitted. */ controls?: string; /** Extra content rendered between the headline text and the toggle button. */ addition?: React.ReactNode; /** * When set in uncontrolled mode, the component persists its expanded * state to localStorage under this key. */ storageKey?: string; /** * Initial expanded state when uncontrolled and no persisted storageKey * value exists yet. Defaults to true. */ defaultExpanded?: boolean; } export declare function CollapsibleHeadline({ header, expanded, onToggle, controls, addition, storageKey, defaultExpanded, children, size, variant, weight, ...headlineProps }: PropsWithChildren): import("react/jsx-runtime").JSX.Element;