import type { TargetedKeyboardEvent } from 'preact'; import type { KeyboardKey } from '../../constants/keys'; type PropagationMode = 'stopIfMatches' | 'stop' | 'passthrough'; export declare const handleKeys: (keys: KeyboardKey[], callback: () => void, propagationMode?: PropagationMode) => (event: TargetedKeyboardEvent) => void; export {};