import React, { ReactNode } from 'react'; import './accordion.style.css'; interface AccordionItem { /** * The unique identifier for the accordion item */ id: string; /** * The label value for the accordion item */ label: string; /** * Whether or not the accordion item is expanded */ expanded: boolean; /** * The body of the accordion item */ child: ReactNode; } export interface AccordionProps { /** * The unique identifier for this component */ id: string; /** * Whether or not to allow multiple items to be expanded at once */ allowMultiSelect?: boolean; /** * An array of AccordionItem objects, used to build the accordion */ items: AccordionItem[]; } /** * An accordion is a list of headers that hide or reveal additional content when selected. */ export declare const Accordion: ({ id, allowMultiSelect, items, }: AccordionProps) => React.ReactElement; export default Accordion;