import { type Snippet } from 'svelte'; import type { HTMLAttributes } from 'svelte/elements'; interface Props extends HTMLAttributes { /** * Controls focus restoration behavior. * @default true **/ returnFocus?: boolean; /** * Disables the lock * @default false **/ disabled?: boolean; /** * Removes virtual nodes around the lock * @default false **/ noFocusGuards?: boolean | 'tail'; /** * Specifies a group for the lock * other nodes can be added to the group by adding similar * `[constants.FOCUS_GROUP]`('data-focus-lock') attribute **/ group?: string; children: Snippet; } declare const FocusLock: import("svelte").Component; type FocusLock = ReturnType; export default FocusLock;