import React from 'react'; interface Props { /** * the color of the mask */ backgroundColor?: string; /** * any valid jsx */ children: React.ReactNode; /** * function to happen after the back button is clicked */ backCb: () => void; /** * function to happen after the close button is clicked */ closeCb: () => void; /** * if the drawer is currently open or not */ drawerOpen: boolean; /** * id added to the main wrapper */ id?: string; /** * class applied to the drawer */ theme?: string; /** * docked on the right if true */ onRight?: boolean; /** * the page behind will not scroll when enabled */ preventScroll?: boolean; /** * show the back button */ showBack?: boolean; /** * show the close button */ showClose?: boolean; /** * allow swiping to close */ swipeToClose?: boolean; /** * title of the drawer */ title?: string; } declare const Drawer: ({ backgroundColor, children, backCb, closeCb, drawerOpen, id, theme, onRight, preventScroll, showBack, showClose, swipeToClose, title, }: Props) => JSX.Element; export default Drawer;