import * as React from 'react'; export interface FocusScopeProps extends React.HTMLAttributes { /** Keeps Tab focus inside the scope. */ trapped?: boolean; /** Tab from the last stop moves to the first (and back). */ loop?: boolean; /** Focuses the first focusable element on mount. */ autoFocus?: boolean; /** Returns focus to the previously focused element on unmount. */ restoreFocus?: boolean; /** Called before auto-focus on mount; call `preventDefault()` to skip it. */ onMountAutoFocus?: (event: Event) => void; /** Called before focus is restored on unmount; call `preventDefault()` to skip it. */ onUnmountAutoFocus?: (event: Event) => void; /** Ref to the rendered root element. */ ref?: React.Ref; } export declare function FocusScope({ trapped, loop, autoFocus, restoreFocus, onMountAutoFocus, onUnmountAutoFocus, children, ref, ...props }: FocusScopeProps): React.ReactElement; export declare namespace FocusScope { var displayName: string; } //# sourceMappingURL=FocusScope.d.ts.map