import * as React from "react";
export type CollapseOwnProps<E extends React.ElementType = React.ElementType> = {
    /**
     * State of the collapse.
     */
    open: boolean;
    /**
     * Allow use another component as handle
     */
    component?: E;
    /**
      * If set to true, it will unmount the content when the component is closed
      */
    unmountOnExit?: boolean;
    className?: string;
    children?: React.ReactNode;
    sx?: React.CSSProperties & any;
};
export type CollpaseProps<E extends React.ElementType> = CollapseOwnProps<E> & Omit<React.ComponentProps<E>, keyof CollapseOwnProps>;
