@scalar/api-client
Version:
the open source API testing client
12 lines • 572 B
TypeScript
import type { WorkspaceEventBus } from '@scalar/workspace-store/events';
import { type MaybeRefOrGetter } from 'vue';
import type { ClientLayout } from '../../v2/types/layout';
/**
* Global hotkey handler for the app (web + desktop)
*
* @param eventBus - workspace event bus
* @param layout - client layout
* @param disableListeners - whether to disable the listeners
*/
export declare const useGlobalHotKeys: (eventBus: WorkspaceEventBus, layout: ClientLayout, disableListeners?: MaybeRefOrGetter<boolean>) => void;
//# sourceMappingURL=use-global-hot-keys.d.ts.map