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