import { RefObject } from 'react'; /** * Where focus should land when the trap activates. * * - a `RefObject` — focus that element (falls back to first focusable → container * when the ref is not yet resolved); * - `'container'` — focus the container element itself; * - `'first'` (default) — focus the first focusable descendant, falling back to * the container when there are none. */ type InitialFocus = RefObject | 'first' | 'container'; type UseFocusTrapOptions = { /** @defaultValue `'first'` */ initialFocus?: InitialFocus; }; export declare const useFocusTrap: (containerRef: RefObject, active: boolean, options?: UseFocusTrapOptions) => void; export {};