import type { MenuRenderFn, MenuResolution } from "./shared/LexicalMenu"; import { CommandListenerPriority, NodeKey, TextNode } from "lexical"; import { type JSX } from "solid-js"; import { MenuOption } from "./shared/LexicalMenu"; export type NodeMenuPluginProps = { onSelectOption: (option: TOption, textNodeContainingQuery: TextNode | null, closeMenu: () => void, matchingString: string) => void; options: Array; nodeKey: NodeKey | null; onClose?: () => void; onOpen?: (resolution: MenuResolution) => void; menuRenderFn: MenuRenderFn; anchorClassName?: string; commandPriority?: CommandListenerPriority; parent?: HTMLElement; }; export declare function LexicalNodeMenuPlugin(props: NodeMenuPluginProps): JSX.Element | null; export { MenuOption, MenuRenderFn, MenuResolution };