import { n as Scope } from "./create-context-CKMcRGBM.js"; import { t as IDirection } from "./direction.types-Cxja_joX.js"; import { t as Primitive } from "./primitive-elements-fih1b6xg.js"; import * as React$1 from "react"; //#region src/roving-focus/roving-focus.types.d.ts declare namespace IRovingFocus { export type IScoped = TProps & { __scopeRovingFocusGroup?: Scope; }; export type Orientation = React$1.AriaAttributes['aria-orientation']; export type FocusIntent = 'first' | 'last' | 'prev' | 'next'; export interface IOptions { orientation?: Orientation; dir?: IDirection.Kind; loop?: boolean; } export interface IContext extends IOptions { currentTabStopId: string | null; onItemFocus(tabStopId: string): void; onItemShiftTab(): void; onFocusableItemAdd(): void; onFocusableItemRemove(): void; } export interface IItemData { id: string; focusable: boolean; active: boolean; } type PrimitiveDivProps = React$1.ComponentPropsWithoutRef; type PrimitiveSpanProps = React$1.ComponentPropsWithoutRef; export interface IGroupImplProps extends Omit, IOptions { currentTabStopId?: string | null; defaultCurrentTabStopId?: string; onCurrentTabStopIdChange?: (tabStopId: string | null) => void; onEntryFocus?: (event: Event) => void; preventScrollOnEntryFocus?: boolean; } export interface IGroupProps extends IGroupImplProps {} export interface IItemProps extends PrimitiveSpanProps { tabStopId?: string; focusable?: boolean; active?: boolean; } export {}; } //#endregion export { IRovingFocus as t };