UNPKG

@ertekinno/human-like

Version:

A sophisticated React typewriter effect library with realistic human typing behavior, mobile/desktop keyboards, and comprehensive theming support

18 lines (17 loc) 489 B
import { KeyInfo } from '../types'; interface KeyPressEvent { keyInfo: KeyInfo; timestamp: number; id: string; } /** * Hook for tracking key press history * Returns keyHistory array, addKeyPress function, and clearHistory function */ export declare const useKeyPressIndicator: (maxHistory?: number) => { keyHistory: KeyPressEvent[]; addKeyPress: (keyInfo: KeyInfo) => void; clearHistory: () => void; }; export {}; //# sourceMappingURL=KeyPressIndicator.d.ts.map