import { FC, HTMLAttributes, ReactElement } from 'react'; import { AccordionItemProps } from './components'; import { AccordionSize } from './types'; export interface AccordionProps extends HTMLAttributes { /** * Optional custom CSS class to apply to the accordion wrapper. * Useful for styling overrides or scoped custom styling. */ className?: string; /** * Defines the size of the accordion. Affects padding and font size. */ size?: AccordionSize; /** * Accordion items to render. Should be one or more `` components. * Accepts a single element or an array of elements. */ children?: ReactElement | ReactElement[]; /** * IDs of currently open items. Enables controlled mode when set. */ opened?: string[]; /** * Called when open item IDs change. */ onChangeOpened?: (opened?: string[]) => void; /** * An array of item `id's that should be open by default when the accordion mounts. */ defaultOpened?: string[]; /** * Allows multiple accordion items to be open at the same time. * If `false`, only one item can be open at once (classic accordion behavior). */ multiple?: boolean; } /** An Accordion is a UI component that toggles content visibility, allowing users to expand or collapse sections for better organization and navigation. */ export declare const Accordion: FC;