import { AriaAttributes, HTMLAttributes, default as React } from 'react'; interface AccordionContext { indices: Set; onChange: (index: number) => void; numberOfItems: number; } declare const AccordionContext: React.Context; export interface AccordionProps extends Omit, 'onChange'> { /** * ID to find this component in testing tools (e.g.: cypress, * testing-library, and jest). */ testId?: string; /** * Indices that indicate which accordion items are opened. */ indices: Iterable; /** * Function that is triggered when an accordion item is opened/closed. */ onChange: (index: number) => void; /** * For accessibility purposes, define a string that labels the current accodion. */ 'aria-label'?: AriaAttributes['aria-label']; } declare const Accordion: React.ForwardRefExoticComponent>; export declare function useAccordion(): AccordionContext; export default Accordion; //# sourceMappingURL=Accordion.d.ts.map