/** * Remembers the element that had focus when its parent mounted and gives it * focus back on unmount. Radix only restores focus to a ``, so a * controlled overlay opened from anywhere else dropped focus to on close. * Render it once inside the overlay's content. */ export declare function ReturnFocus(): null; /** * Default initial focus for Dialog / Drawer: the first form field in the body, * otherwise the first control in the body, otherwise Radix's default (the * header Close button). Call from `onOpenAutoFocus`; honours `preventDefault`. */ export declare function focusFirstField(event: Event, bodySelector: string): void;