import { UiFSceneTree } from "my3dtiles-lib/dist-node/my3dtiles-lib-main/modules"; import { UiFSceneTreeItem } from "my3dtiles-lib/dist-node/my3dtiles-lib-main/modules/FTree/sceneTree/UiFSceneTree/UiFSceneTreeItem"; import { Destroyable } from "vtxf-xe2/dist-node/xe2-base-utils"; export declare type FSceneTreeMenuInfoTypeFilterFuncOptionsType = { uiFSceneTree: UiFSceneTree; uiFSceneTreeItem?: UiFSceneTreeItem; event?: MouseEvent; }; export declare type FSceneTreeMenuInfoTypeClickFuncOptionsType = { uiFSceneTree: UiFSceneTree; uiFSceneTreeItem?: UiFSceneTreeItem; event?: MouseEvent; }; export declare type FSceneTreeMenuInfoType = { title: string; groupName?: string; filterFunc?: (options: FSceneTreeMenuInfoTypeFilterFuncOptionsType) => boolean | Promise; zIndex?: number; clickFunc?: (options: FSceneTreeMenuInfoTypeClickFuncOptionsType) => void | Promise; }; export declare class UiFSceneTreeContextMenu extends Destroyable { private _groupPriority; get groupPriority(): Map; private _registeredMenuInfos; get registeredMenuInfos(): Set; registerMenu(menuInfoOption: FSceneTreeMenuInfoType): { title: string; groupName?: string | undefined; filterFunc?: ((options: FSceneTreeMenuInfoTypeFilterFuncOptionsType) => boolean | Promise) | undefined; zIndex?: number | undefined; clickFunc?: ((options: FSceneTreeMenuInfoTypeClickFuncOptionsType) => void | Promise) | undefined; }; unregisterMenu(menuInfo: FSceneTreeMenuInfoType): void; constructor(); onContextMenu(uiFSceneTree: UiFSceneTree, uiFSceneTreeItem: UiFSceneTreeItem | undefined, event: MouseEvent): Promise; }