@scalar/api-client
Version:
the open source API testing client
12 lines • 539 B
TypeScript
import type { WorkspaceEventBus } from '@scalar/workspace-store/events';
import type { ClientLayout } from '../../v2/types/layout';
/**
* Handles global keyboard shortcuts.
* Checks modifier keys and input context before emitting events.
*
* @param event - the keyboard event
* @param eventBus - event bus for emitting hotkey actions
* @param layout - client layout
*/
export declare const handleHotkeys: (event: KeyboardEvent, eventBus: WorkspaceEventBus, layout: ClientLayout) => void;
//# sourceMappingURL=handle-hotkeys.d.ts.map