import React from 'react'; import type { CommonComponentProps, MarginModifierProp, ModifierClassProp } from '../types'; import type { GetRef } from '../utils/refs'; interface CollapsibleContentProps extends CommonComponentProps, MarginModifierProp, ModifierClassProp { children?: React.ReactNode; collapsed: boolean; getRef?: GetRef; id?: string; } /** * The `` is a generic, controlled component for content * that can be expanded and collapsed. It measures the height of its children * and sets its `maxHeight` based on that, which provides a smooth CSS * transition. When fully expanded or collapsed, it removes the `maxHeight` so * that any content that might change height will not be cut off. */ export declare function CollapsibleContent({ _modifierClass, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, children, collapsed: collapsedProp, getRef, id, margin, ...rest }: CollapsibleContentProps): React.JSX.Element; export {};