import React from "react"; import { DrawerFooter } from "./DrawerFooter"; import { DrawerHeader } from "./DrawerHeader"; import { DrawerContent } from "./DrawerContent"; type DrawerProps = { children?: React.ReactNode; open: boolean; className?: string; style?: React.CSSProperties; noCloseIcon?: boolean; noOverlay?: boolean; unmountOnExit?: boolean; mountOnEnter?: boolean; portalContainer?: Element | DocumentFragment; onClose?: () => void; onCloseAnimationEnd?: () => void; }; declare function Drawer({ open, className, style, noCloseIcon, noOverlay, children, unmountOnExit, mountOnEnter, portalContainer, onClose, onCloseAnimationEnd, }: DrawerProps): React.ReactPortal; declare namespace Drawer { var Header: typeof DrawerHeader; var Content: typeof DrawerContent; var Footer: typeof DrawerFooter; } export default Drawer;