/** * Manages global side effects for a drawer instance: * - Body scroll locking (per-instance class name) * - Escape key handling (closes the top-most open drawer only) * - Focus trap and focus restore (top-most aware) * @param {object} params - Hook params. * @param {string} params.drawerId - Unique id for this drawer instance. * @param {boolean} [params.isInteractive] - Whether the drawer is interactive (opening/open/dragging). When omitted, falls back to `isOpen` for backward compatibility. * @param {boolean} params.isOpen - Whether the drawer is open (for body scroll lock). * @param {() => void} params.onClose - Close handler for this drawer. * @param {string} params.bodyNoScrollClassName - Unique class to apply to body while open. * @param {() => HTMLElement | null} params.getFocusContainer - Returns the focus container (drawer panel element). * @returns {void} Nothing. */ export declare const useDrawerGlobalEffects: ({ drawerId, isInteractive, isOpen, onClose, bodyNoScrollClassName, getFocusContainer, }: { drawerId: string; isInteractive?: boolean; isOpen: boolean; onClose: () => void; bodyNoScrollClassName: string; getFocusContainer: () => HTMLElement | null; }) => void; export default useDrawerGlobalEffects; //# sourceMappingURL=useDrawerGlobalEffects.d.ts.map