/** * Keyboard constants, direction helpers, and a small attribute name used by the * composite primitives. * * Mirrors `packages/react/src/internals/composite/composite.ts` + * `constants.ts` in Base UI React, adapted to Solid. Keep the naming identical * so downstream consumers can port keyboard-handling logic straight across. */ export declare const ARROW_UP = "ArrowUp"; export declare const ARROW_DOWN = "ArrowDown"; export declare const ARROW_LEFT = "ArrowLeft"; export declare const ARROW_RIGHT = "ArrowRight"; export declare const HOME = "Home"; export declare const END = "End"; export declare const HORIZONTAL_KEYS: Set; export declare const HORIZONTAL_KEYS_WITH_EXTRA_KEYS: Set; export declare const VERTICAL_KEYS: Set; export declare const VERTICAL_KEYS_WITH_EXTRA_KEYS: Set; export declare const ARROW_KEYS: Set; export declare const ALL_KEYS: Set; export declare const MODIFIER_KEYS: Set<"Alt" | "Control" | "Meta" | "Shift">; export type ModifierKey = typeof MODIFIER_KEYS extends Set ? Keys : never; /** * Data attribute that marks an element as the "initially active" composite * item. On first non-empty map update, `useCompositeRoot` picks up this marker * and moves `highlightedIndex` to the matching item. */ export declare const ACTIVE_COMPOSITE_ITEM = "data-composite-item-active"; /** * `orientation` value accepted by the composite root. */ export type CompositeOrientation = "horizontal" | "vertical" | "both"; /** * Text direction. Matches the shape used throughout Base UI; we don't depend on * a DirectionContext here — the composite root takes it as a plain prop so * consumers can thread in whatever source of truth they want. */ export type TextDirection = "ltr" | "rtl"; //# sourceMappingURL=composite-constants.d.ts.map