import { RefObject } from "react";
/**
 * Traps focus within the given container element when active.
 *
 * - Tab / Shift+Tab cycles through focusable elements inside the container.
 * - Initial focus is given to `[data-autofocus]` if present, otherwise the
 *   first focusable element.
 * - When deactivated, focus is returned to the previously focused element.
 */
export declare function useFocusTrap(containerRef: RefObject<HTMLElement | null>, isActive: boolean): void;
