/** * Reactive `keyboardUser` and `focusVisible` signals. * * - `keyboardUser` flips to `true` on the first keyboard interaction and * back to `false` on the next pointer interaction. * - `focusVisible` mirrors `:focus-visible` semantics — `true` while the * currently focused element should receive a focus ring. * * Both signals share a single set of global listeners. Subsequent calls * return signals that share the same underlying state, so calling them * many times is cheap. * * @module bquery/a11y * @since 1.14.0 */ import { type ReadonlySignal } from '../reactive/index'; /** * Reactive signal that flips to `true` after the first keyboard input and * back to `false` after the next pointer interaction. Useful for styling * focus rings only when the user is navigating with the keyboard. * * @since 1.14.0 */ export declare const keyboardUserSignal: () => ReadonlySignal; /** * Reactive signal mirroring `:focus-visible` semantics — `true` while the * currently focused element should display a focus ring. * * @since 1.14.0 */ export declare const focusVisible: () => ReadonlySignal; /** * **Internal** — releases the global listeners used by * {@link keyboardUserSignal} and {@link focusVisible}. Exposed primarily * for tests. * * @internal * @since 1.14.0 */ export declare const _disposeKeyboardSignals: () => void; //# sourceMappingURL=keyboard-signals.d.ts.map