import { type DataTestId } from '../../types/data-props.js'; import type { WithChildren } from '../../types/with-children.js'; /** * Prop definition of the `FocusScope` component. * @public */ export interface FocusScopeProps extends WithChildren, DataTestId { /** * If set to true, the focus scope automatically focuses the first focusable element inside. * @defaultValue false */ autoFocus?: boolean; /** * If set to true, the focus scope traps the focus inside. * @defaultValue false */ contain?: boolean; } /** * The `FocusScope` helps you manage the focus when opening any overlay. If you * want to create a custom overlay, you can wrap the content of your overlay in the * `FocusScope` to help you make the overlay accessible and handle focus * appropriately. * @public */ export declare const FocusScope: { (props: FocusScopeProps): import("react/jsx-runtime").JSX.Element; displayName: string; };