export declare function useFocusTrap(active?: boolean): (element: HTMLElement | null) => void;