import { PropsWithChildren } from 'react';
type CollapseProps = {
    /**
     * Show the component and triggers the expand or collapse animation.
     *
     * @default false
     */
    open: boolean | undefined;
    /**
     * Unmount the component (remove it from the DOM) when it is collapsed.
     */
    unmountOnExit?: boolean;
    /**
     * Run the expand animation when the component mounts, if it is initially shown.
     *
     * @default false
     */
    appear?: boolean;
    /**
     * Duration of the collapse animation in milliseconds.
     *
     * @default 270
     */
    timeout?: number;
    /**
     * Callback fired after the component has expanded.
     * @returns
     */
    onEntered?: () => void;
    /**
     * Callback fired after the component has collapsed.
     * @returns
     */
    onExited?: () => void;
    /**
     * Callback fired when the animation starts for either expand or collapse.
     */
    onAnimationStart?: () => void;
};
declare const Collapse: (props: PropsWithChildren<CollapseProps>) => import("react/jsx-runtime").JSX.Element;
export default Collapse;
