import { default as React } from 'react'; import { ExpanderType } from './Expander'; import { HeadingTags } from './utils'; export interface ExpanderHierarchyCommonProps { /** Changes the underlying element of the expander title. Default: h2. */ htmlMarkup?: HeadingTags; /** Expand all children when printing. */ print?: boolean; /** Expander nesting level. Should not be set manually. */ level?: number; } export interface ExpanderHierarchyProps extends ExpanderHierarchyCommonProps { children: React.ReactNode; /** Sets the data-testid attribute on the expander list. */ testId?: string; } export interface ExpanderHierarchyCompound extends React.FC { Expander: ExpanderType; } declare const ExpanderHierarchy: ExpanderHierarchyCompound; export default ExpanderHierarchy;