/** @packageDocumentation
 * @module KeyboardShortcut
 */
import * as React from "react";
import type { CommonProps } from "@itwin/core-react";
import type { KeyboardShortcut } from "./KeyboardShortcut";
import { UiEvent } from "@itwin/appui-abstract";
/** State of a [[KeyboardShortcutMenuEvent]] and [[KeyboardShortcutMenu]] component
 * @public
 * @deprecated in 4.15.0. Used internally by {@link KeyboardShortcutMenu} component.
 */
export interface KeyboardShortcutMenuState {
    menuVisible: boolean;
    menuX: number;
    menuY: number;
    shortcuts?: KeyboardShortcut[];
}
/** KeyboardShortcut Menu Event class.
 * @public
 * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects.
 */
export declare class KeyboardShortcutMenuEvent extends UiEvent<KeyboardShortcutMenuState> {
}
/** React component that displays a context menu at the cursor containing keyboard shortcuts.
 * @public
 * @deprecated in 4.15.0. Component used internally to display keyboard shortcuts in a context menu.
 */
export declare class KeyboardShortcutMenu extends React.PureComponent<CommonProps, KeyboardShortcutMenuState> {
    readonly state: KeyboardShortcutMenuState;
    /** Get KeyboardShortcut Menu Event. */
    static readonly onKeyboardShortcutMenuEvent: KeyboardShortcutMenuEvent;
    componentDidMount(): void;
    componentWillUnmount(): void;
    private _handleKeyboardShortcutMenuEvent;
    render(): React.ReactNode;
    private getShortcutMenuItems;
    private getShortcutMenuItem;
    private _hideContextMenu;
    private _itemPicked;
}
//# sourceMappingURL=KeyboardShortcutMenu.d.ts.map