import { HeadingSize } from '../../tokens/heading-sizes/HeadingSizes'; import { HTMLAttributes, MouseEvent, ReactNode } from 'react'; export interface CollapseProps extends Omit, 'onClick'> { /** Contents of the Collapse body */ children: ReactNode; /** If true, will animate the expand/collapse state */ feAnimate?: boolean; /** If true, will set the collapse to be expanded by default */ feExpanded?: boolean; /** Title for the Collapse */ feTitle: string; /** If provided, encloses the title in selected heading element */ feTitleAs?: Exclude; /** If provided, allows you to listen to click on the title-button */ onClick?: (event: MouseEvent, expanded: boolean) => void; } /** * The `` component is a general purpose container for content that can be collapsed / expanded. * * See [InVision DSM](https://skf.invisionapp.com/dsm/ab-skf/4-web-applications/nav/5fa7caf78c01200018354495/asset/6229e2eb8a8dacf366dc3243) for design principles. */ declare const Collapse: import("react").ForwardRefExoticComponent>; export default Collapse;