import * as React from 'react';
import { TranslationService } from "@polygloat/core/lib/services/TranslationService";
export interface KeyContextMenuParams {
    openEvent: MouseEvent;
    keys: Set<string>;
    onSelect: (key: any) => void;
}
export declare type KeyContextMenuState = Partial<KeyContextMenuParams> & {
    opened: boolean;
};
export declare type ComponentDependencies = {
    translationService: TranslationService;
};
export declare type KeyContextMenuProps = {
    dependencies: ComponentDependencies;
};
export declare class KeyContextMenu extends React.Component<KeyContextMenuProps> {
    constructor(props: KeyContextMenuProps);
    state: KeyContextMenuState & {
        opened: boolean;
    };
    show(params: KeyContextMenuParams): Promise<void>;
    render(): JSX.Element;
}
