import { ForwardRefExoticComponent, ReactNode, RefAttributes } from 'react'; import { AccordionItem } from './AccordionItem/AccordionItem'; interface AccordionSingleProps { type?: 'single'; defaultValue?: string; value?: string; onValueChange?: (value: string) => void; collapsible?: boolean; } interface AccordionMultipleProps { type: 'multiple'; defaultValue?: string[]; value?: string[]; onValueChange?: (value: string[]) => void; } type AccordionProps = { children: ReactNode; } & (AccordionSingleProps | AccordionMultipleProps); interface AccordionComponent extends ForwardRefExoticComponent> { Item: typeof AccordionItem; } /** * A vertically stacked set of interactive headings that each reveal an associated section of content. * The Accordion component can be used to create expandable/collapsible sections of content. * * @example * Single open accordion (default) * ```tsx * * * Wire is a secure messaging platform... * * * Yes, Wire uses end-to-end encryption... * * * ``` * * @example * Multiple open accordion: * ```tsx * * * Wire is a secure messaging platform * * * Yes, Wire uses end-to-end encryption * * * ``` */ export declare const Accordion: AccordionComponent; export {}; //# sourceMappingURL=Accordion.d.ts.map