import { FC } from 'react'; import { OcBaseProps } from '../../components/OcBase'; interface FocusTrapProps extends OcBaseProps { /** * Whether or not to trap focus. */ trap: boolean; /** * Prepend a specific selector to the beginning * of the focus loop generated list of selectors. */ firstFocusableSelector?: string; /** * Append a specific selector to the end * of the focus loop generated list of selectors. */ lastFocusableSelector?: string; /** * Optionally skip some selectors when tabbing by index.length - skipFocusableSelectorsFromIndex * Use when `trap` is `true` * @default `index.length - 1` */ skipFocusableSelectorsFromIndex?: number; } export declare const FocusTrap: FC; export {};