import { IIOContext } from "../../context/_types/IIOContext"; import type { ProxiedPrioritizedMenu } from "../../menus/menu/ProxiedPrioritizedMenu"; import { IPrioritizedMenuItem } from "../../menus/menu/_types/IPrioritizedMenuItem"; import { ISubscribable } from "../../utils/subscribables/_types/ISubscribable"; import { IAction } from "../_types/IAction"; import { IActionBinding } from "../_types/IActionBinding"; import { IActionTarget } from "../_types/IActionTarget"; import { IContextMenuItemData } from "./_types/IContextMenuItemData"; export declare const contextMenuAction: IAction & { createBinding: import("../_types/IBindingCreator").IBindingCreator; } & { /** * Retrieves all the context items for the given targets * @param items The items to retrieve the context items from * @param extraBindings Extra bindings that shouldn't contribute to the itemCount, but should be used to show items in the menu * @param hook A hook to subscribe to changes * @returns The context items */ getItems(items: IActionTarget[], extraBindings?: ISubscribable[]>, hook?: import("model-react").IDataLoadRequest | import("model-react").IDataListener | undefined): IPrioritizedMenuItem[]; /** * Retrieves the context menu for the given selection of items, which automatically updates on changes * @param items The items to get the context menu for * @param context The IOContext that the context menu can use * @returns The menu */ getMenu(items: IActionTarget[], context: IIOContext): ProxiedPrioritizedMenu; }; //# sourceMappingURL=contextMenuAction.d.ts.map