import { Nullable } from '@angular-ru/cdk/typings';
import { Subject } from 'rxjs';
import { ContextMenuState } from './context-menu-state';
import * as i0 from "@angular/core";
export declare class ContextMenuService<T, K = unknown> {
    state: ContextMenuState<T, K>;
    readonly events$: Subject<void>;
    openContextMenu(event: MouseEvent, key?: Nullable<string>, row?: Nullable<T>): boolean;
    close(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuService<any, any>, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<ContextMenuService<any, any>>;
}
//# sourceMappingURL=context-menu.service.d.ts.map