export declare function isEventLike(event: any): event is EventLike; export interface EventLike { keyCode: number; shiftKey?: boolean; ctrlKey?: boolean; metaKey?: boolean; currentTarget: HTMLElement | SVGElement; } export default function handleKey(event: EventLike, { onActivate, onBackspace, onBlockEnd, onBlockStart, onDefault, onDelete, onEnd, onEnter, onEscape, onHome, onInlineEnd, onInlineStart, onPageDown, onPageUp, onSelectAll, onShiftEnter, onShiftInlineEnd, onShiftInlineStart, onSpace, onTab }: { onActivate?: () => void; onBackspace?: () => void; onBlockEnd?: () => void; onBlockStart?: () => void; onDefault?: () => void; onDelete?: () => void; onEnd?: () => void; onEnter?: () => void; onEscape?: () => void; onHome?: () => void; onInlineEnd?: () => void; onInlineStart?: () => void; onPageDown?: () => void; onPageUp?: () => void; onSelectAll?: () => void; onShiftEnter?: () => void; onShiftInlineEnd?: () => void; onShiftInlineStart?: () => void; onSpace?: () => void; onTab?: () => void; }): void;