import { InternalBaseComponentProps } from '../internal/hooks/use-base-component'; import { ExpandableSectionProps } from './interfaces'; import { InternalVariant } from './internal-interfaces'; export type InternalExpandableSectionProps = Omit & InternalBaseComponentProps & { variant?: InternalVariant; __injectAnalyticsComponentMetadata?: boolean; /** * Controls placement of the expand/collapse icon relative to the header content. * Defaults to 'start'. When set to 'end', the icon is rendered after the header * content and pushed to the inline-end of a full-width header. */ __expandIconPosition?: 'start' | 'end'; /** * Removes default padding from the header wrapper and content wrapper. * Used by side-navigation to zero out expandable-section's own padding so the * parent can control spacing directly. */ __disableHeaderPaddings?: boolean; /** * When true, the expand/collapse icon button is hidden from assistive technology * and removed from the tab order. Used by side-navigation when the nav is collapsed * and the caret is visually clipped but still present in the DOM. */ __hideExpandIcon?: boolean; }; export default function InternalExpandableSection({ expanded: controlledExpanded, defaultExpanded, onChange, variant, children, header, headerText, headerCounter, headerDescription, headerInfo, headerActions, headingTagOverride, disableContentPaddings, headerAriaLabel, __internalRootRef, __injectAnalyticsComponentMetadata, __expandIconPosition, __disableHeaderPaddings, __hideExpandIcon, ...props }: InternalExpandableSectionProps): JSX.Element;