import type { Keyboard } from "./desktop/keyboard"; import type { Portals } from "./desktop/portals"; /** What {@link fireGlobalShortcuts} needs of the desktop. */ export type GlobalShortcutsDesktop = { readonly keyboard: Pick; readonly portals: Pick; }; /** * Grab every chord applications hold, and report each press and release. * Returns a function that stops reporting. * * A chord no application holds any more is given back, and so is every chord * on stop. A keysym the layout cannot type is logged once, so the other chords * still work. */ export declare const fireGlobalShortcuts: ({ keyboard, portals, }: GlobalShortcutsDesktop) => (() => void);