import * as react from 'react'; import { ComponentPropsWithoutRef } from 'react'; import { CollapsibleProps } from '../Collapsible/index.js'; type AccordionValue = TIsMultiple extends true ? string[] : string; type AccordionCollapsible = TIsMultiple extends true ? undefined : boolean; type AccordionValueContextValue = { value: string[]; select(value: string): void; hideExpandIcon?: boolean; }; declare const AccordionContext: react.Context; type AccordionProps = ComponentPropsWithoutRef<"div"> & { className?: string; collapsible?: AccordionCollapsible; defaultValue?: AccordionValue; multiple?: TIsMultiple; value?: AccordionValue; onValueChange?(value?: AccordionValue): void; hideExpandIcon?: boolean; }; declare const Accordion: react.ForwardRefExoticComponent, HTMLDivElement>, "ref"> & { className?: string | undefined; collapsible?: boolean | undefined; defaultValue?: string | string[] | undefined; multiple?: boolean | undefined; value?: string | string[] | undefined; onValueChange?(value?: string | string[] | undefined): void; hideExpandIcon?: boolean | undefined; } & { children?: react.ReactNode; } & react.RefAttributes>; type AccordionItemProps = ComponentPropsWithoutRef<"div"> & { value: string; }; declare const AccordionItem: react.ForwardRefExoticComponent, HTMLDivElement>, "ref"> & { value: string; } & { children?: react.ReactNode; } & react.RefAttributes>; type AccordionTriggerProps = ComponentPropsWithoutRef<"button"> & { wrapperClassName?: string; expandIconClassName?: string; hideExpandIcon?: boolean; }; declare const AccordionTrigger: react.ForwardRefExoticComponent, HTMLButtonElement>, "ref"> & { wrapperClassName?: string | undefined; expandIconClassName?: string | undefined; hideExpandIcon?: boolean | undefined; } & { children?: react.ReactNode; } & react.RefAttributes>; type AccordionContentProps = Omit & { textClassName?: string; }; declare const AccordionContent: react.ForwardRefExoticComponent & { textClassName?: string | undefined; } & { children?: react.ReactNode; } & react.RefAttributes>; export { Accordion, AccordionContent, type AccordionContentProps, AccordionContext, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps };