import { ComponentProps } from 'react'; export type CollapseProps = ComponentProps<'div'> & { /** Controls whether the content is fully visible. */ isOpen: boolean; /** Height of the container when collapsed */ collapsedHeight?: string; /** Duration of the expand/collapse animation in milliseconds */ duration?: number; }; /** * - Animates content in and out by transitioning height. * - Uses a `ResizeObserver` to dynamically measure content height, so it works correctly when content changes. * - `Collapse` is a controlled component. Provide the `isOpen` prop to control the isOpen state. */ export declare function Collapse({ isOpen, collapsedHeight, duration, children, ...props }: CollapseProps): import("react/jsx-runtime").JSX.Element; export default Collapse;