import React, { type ReactNode } from "react"; import { Accordion as PrimitiveAccordion, AccordionItem as PrimitiveAccordionItem } from "src/primitives/Accordion"; type AccordionRootProps = React.ComponentProps; export interface AccordionProps extends Omit { /** Whether one or many items can be opened at the same time. */ type?: "single" | "multiple"; /** Accordion.Item children. */ children?: ReactNode; } interface AccordionItemProps extends Omit, "title"> { /** Header content displayed in the trigger. */ title: ReactNode; /** Content rendered when the item is expanded. */ children?: ReactNode; } declare const AccordionItemComponent: React.ForwardRefExoticComponent & React.RefAttributes>; declare const Accordion: React.ForwardRefExoticComponent> & { Item: typeof AccordionItemComponent; }; export { Accordion };