import React, { type RefObject } from 'react'; import type { GetRef } from '../utils/refs'; import type { CommonComponentProps } from '../types'; interface FocusTrapProps extends CommonComponentProps { active?: boolean; as?: 'div' | 'span'; children?: React.ReactNode; fallbackFocusOn?: RefObject | Element | string; getRef?: GetRef; initialFocusOn?: RefObject | Element | string; refProp?: string; setInitialFocus?: boolean; [key: string]: unknown; } export declare function FocusTrap({ active, as: WrapperComponent, children, fallbackFocusOn, getRef, initialFocusOn, refProp, setInitialFocus, ...otherProps }: FocusTrapProps): React.JSX.Element; export {};