import * as React from 'react'; import { BoxProps } from '../Box'; declare type DrawerDirection = 'right' | 'left' | 'top' | 'bottom'; export declare type DrawerProps = { isOpen: boolean; children: JSX.Element | JSX.Element[] | React.ReactNode; className?: string; onClose?: () => void; position?: DrawerDirection; } & BoxProps<'div'>; export declare const useDrawerState: () => { isOpen: boolean; setIsOpen: () => void; }; export declare const Drawer: ({ isOpen, children, className, onClose, position, ...rest }: DrawerProps) => JSX.Element; export {};