1 | import { type DialogProps, type HotkeyProps } from "../components";
|
2 | interface HotkeysDialogProps extends DialogProps {
|
3 | /**
|
4 | * This string displayed as the group name in the hotkeys dialog for all
|
5 | * global hotkeys.
|
6 | */
|
7 | globalHotkeysGroup?: string;
|
8 | }
|
9 | /** @deprecated use HotkeysProvider */
|
10 | export declare function isHotkeysDialogShowing(): boolean;
|
11 | /** @deprecated use HotkeysProvider */
|
12 | export declare function setHotkeysDialogProps(props: Partial<HotkeysDialogProps>): void;
|
13 | /** @deprecated use HotkeysProvider */
|
14 | export declare function showHotkeysDialog(hotkeys: HotkeyProps[]): void;
|
15 | /** @deprecated use HotkeysProvider */
|
16 | export declare function hideHotkeysDialog(): void;
|
17 | /**
|
18 | * Use this function instead of `hideHotkeysDialog` if you need to ensure that all hotkey listeners
|
19 | * have time to execute with the dialog in a consistent open state. This can avoid flickering the
|
20 | * dialog between open and closed states as successive listeners fire.
|
21 | *
|
22 | * @deprecated use HotkeysProvider
|
23 | */
|
24 | export declare function hideHotkeysDialogAfterDelay(): void;
|
25 | export {};
|