import * as react from 'react'; import { ModalProps } from '@heroui/modal'; import { ReactRef } from '@heroui/react-utils'; import { PropGetter } from '@heroui/system'; interface Props extends Omit { /** * Ref to the DOM node. */ ref?: ReactRef; /** * The placement of the drawer. */ placement?: "top" | "right" | "bottom" | "left"; /** * The scroll behavior of the drawer. */ scrollBehavior?: "inside" | "outside"; } type UseDrawerProps = Props; declare function useDrawer(originalProps: UseDrawerProps): { domRef: react.RefObject; getModalProps: PropGetter; }; type UseDrawerReturn = ReturnType; export { type UseDrawerProps, type UseDrawerReturn, useDrawer };