import { FC, ReactElement } from 'react'; interface CollapsibleProps { /** * Controls whether the collapsible content is expanded. * If provided, the component acts as a controlled component. */ open?: boolean; /** * Sets the initial open state when the component is uncontrolled. * Ignored if `open` is provided. */ defaultOpen?: boolean; /** * Callback fired when the open state changes. * Called with the next boolean value when toggled. */ onChangeOpen?: (value: boolean) => void; /** * If true, renders as a child component using `Slot`. */ asChild?: boolean; /** * The content to render inside the collapsible container. * Can be a single node or a list of React nodes. */ children?: ReactElement | ReactElement[]; } /** * Collapsible is a fundamental button component that handles interaction and visual styling. * It supports different variants, appearances, and customization of pressable styles. */ declare const Collapsible: FC; export { Collapsible, type CollapsibleProps };