/** * External dependencies */ import type { RefObject } from 'react'; /** * Internal dependencies */ import type keys from '../components/keyboard/keys'; export interface KeySpec { key: string | string[]; shift?: boolean; clickable?: boolean; dialog?: boolean; repeat?: boolean; editable?: boolean; allowDefault?: boolean; } export type Keys = typeof keys; export type KeyEffectCallback = (event: KeyboardEvent) => void; export type KeyNameOrSpec = KeySpec | string | string[]; export type RefOrNode = Element | RefObject | null; //# sourceMappingURL=keyboard.d.ts.map