UNPKG

@remotion/studio

Version:

APIs for interacting with the Remotion Studio

17 lines (16 loc) 550 B
import type { KeyEventType } from '../state/keybindings'; export declare const areKeyboardShortcutsDisabled: () => boolean; export declare const useKeybinding: () => { registerKeybinding: (options: { event: KeyEventType; key: string; commandCtrlKey: boolean; callback: (e: KeyboardEvent) => void; preventDefault: boolean; triggerIfInputFieldFocused: boolean; keepRegisteredWhenNotHighestContext: boolean; }) => { unregister: () => void; }; isHighestContext: boolean; };