import { BaseSchemes } from 'rete'; import { ContextMenuPlugin } from '.'; export declare type Position = { x: number; y: number; }; export declare type Item = { label: string; key: string; handler(): void; subitems?: Item[]; }; export declare type ItemsCollection = { searchBar?: boolean; list: Item[]; }; export declare type Items = (context: 'root' | Schemes['Node'], plugin: ContextMenuPlugin) => ItemsCollection; //# sourceMappingURL=types.d.ts.map