/**
 * Represents a custom context menu that can be created and managed dynamically.
 */
export declare class CustomContextMenu {
    /**
     * The HTML element representing the context menu.
     */
    static Element: HTMLDivElement | undefined;
    /**
     * Indicates whether the context menu has been initialized.
     */
    private static _inited;
    /**
     * Initializes the context menu by adding event listeners.
     * This method should be called before creating a context menu.
     */
    private static _initialize;
    /**
     * Creates a custom context menu with specified items and options.
     *
     * @param items - An object containing menu item labels and corresponding callback functions.
     * @param x - The horizontal position of the context menu.
     * @param y - The vertical position of the context menu.
     * @param show - Indicates whether the context menu should be displayed immediately.
     * @param removeOnSelect - Indicates whether the context menu should be removed after an item is selected.
     * @returns The HTML element representing the created context menu.
     */
    static Create(items: Record<string, () => void>, x: number, y: number, show?: boolean, removeOnSelect?: boolean): HTMLDivElement;
    /**
     * Removes the context menu from the DOM.
     */
    static Remove(): void;
}
//# sourceMappingURL=CustomContextMenu.d.ts.map