import { IMenuItemDataEx, MenuItemData, OnesTable } from '../../../../@ones-table/common';
import { GC } from '../../../../@ones-table/core';
export declare function isMenuItemExist(spread: GC.Spread.Sheets.Workbook, menuItemName: string): boolean;
export declare function removeMenuItem(spread: GC.Spread.Sheets.Workbook, menuItemName: string): void;
export declare function addSeparatorItem(table: OnesTable): void;
export declare function addMenuItem(table: OnesTable, item: MenuItemData, child?: boolean): void;
export declare function clearSeparatorItems(items: (MenuItemData | GC.Spread.Sheets.ContextMenu.IMenuItemData)[]): void;
export declare function removeNotOnesItems(items: IMenuItemDataEx[]): void;
export declare function removeFromShownItems(itemsDataForShown: GC.Spread.Sheets.ContextMenu.IMenuItemData[], itemName: string | string[]): void;
export declare function changeItemText(itemsDataForShown: GC.Spread.Sheets.ContextMenu.IMenuItemData[], name: string, text: string): void;
export declare function findMenuItem(itemsDataForShown: GC.Spread.Sheets.ContextMenu.IMenuItemData[], name: string): GC.Spread.Sheets.ContextMenu.IMenuItemData | null;
export declare function removeSeparatorBefore(itemsDataForShown: GC.Spread.Sheets.ContextMenu.IMenuItemData[], name: string): void;
