///
import type { Keymap } from ".";
/**
* {@link React.Context} used to access ambient Keymap
*/
export declare const KeymapContext: import("react").Context;
/** Access the ambient {@link Keymap} */
export declare function useKeymap(): Keymap;
/** Register a keyboard shortcut for the duration of the component. */
export declare function useKeyboardShortcut(
/** Keyboard sequence to bind to */
seq: string,
/** Callback to handle the shortcut */
callback: (e: KeyboardEvent) => unknown): void;