import * as t from 'io-ts';
import React from 'react';
export declare const KeyboardShortcut: t.TypeC<{
    alt: t.BooleanC;
    ctrl: t.BooleanC;
    key: t.StringC;
    meta: t.BooleanC;
    shift: t.BooleanC;
}>;
export type KeyboardShortcut = t.TypeOf<typeof KeyboardShortcut>;
export declare const matchesShortcut: (e: KeyboardEvent, shortcut: KeyboardShortcut) => boolean;
export declare const shortcutToString: (shortcut: KeyboardShortcut) => string;
export declare const formatKey: (code: string, key: string) => string;
interface InputShortcutProps {
    disabled?: boolean;
    onChange?: (k: KeyboardShortcut | undefined) => void;
    placeholder?: string;
    value?: KeyboardShortcut;
}
declare const InputShortcut: React.FC<InputShortcutProps>;
export default InputShortcut;
//# sourceMappingURL=InputShortcut.d.ts.map