import { default as React } from 'react'; import { DrawerVariant } from '../types/DrawerVariant'; import { DrawerStatus } from '../types/drawerStatus'; /** * Hook to manage drawer state transitions. * * Motion (transform/opacity of the panel) is driven by the Web Animations API * via `useDrawerMotion`; this hook only owns the status state machine and the * refs that coordinate it. * @param {boolean} isOpen - Whether the drawer should be open. * @param {() => void} [_onClose] - Kept for backward compatibility. * @param {() => void} [onClosed] - Called after the drawer is fully closed. * @param {DrawerVariant} [variant] - Rendering variant. * @returns {object} Drawer state management functions and current status. */ export declare const useDrawerState: (isOpen: boolean, _onClose?: () => void, onClosed?: () => void, variant?: DrawerVariant) => { status: DrawerStatus; setStatus: React.Dispatch>; isDragging: boolean; setIsDragging: React.Dispatch>; handleClose: (drawerRef: React.RefObject) => void; finalizeClose: () => void; notifyPanelMounted: () => void; }; //# sourceMappingURL=useDrawerState.d.ts.map