Files
Stackq/node_modules/bits-ui/dist/bits/utilities/is-using-keyboard/is-using-keyboard.svelte.d.ts
T
eewing cf73cd3b4c INIT
2026-02-17 14:10:16 -06:00

14 lines
404 B
TypeScript

import { type AnyFn } from "svelte-toolbelt";
/**
* Detects whether the user is currently using the keyboard
* or not by listening to keyboard and pointer events. Uses shared global
* state to avoid listener duplication.
*/
export declare class IsUsingKeyboard {
static _refs: number;
static _cleanup?: AnyFn;
constructor();
get current(): boolean;
set current(value: boolean);
}