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