import { NodeDefinition } from '../../../types/NodeDefinition'; import { Position } from '../../../types/core'; /** * @file Node search menu component with multiple view modes */ import * as React from "react"; export type NodeSearchMenuViewMode = "list" | "split"; export type NodeSearchMenuFilterMode = "filter" | "highlight"; export type NodeSearchMenuProps = { position: Position; nodeDefinitions: NodeDefinition[]; onCreateNode: (nodeType: string, position: Position) => void; onClose: () => void; visible: boolean; /** Node types that should be shown disabled due to per-flow limits */ disabledNodeTypes?: string[]; /** View mode: "list" (default vertical list) or "split" (split pane) */ viewMode?: NodeSearchMenuViewMode; /** Filter mode: "filter" hides non-matching, "highlight" shows all with matches emphasized */ filterMode?: NodeSearchMenuFilterMode; /** Minimum width of the menu in pixels */ menuWidth?: number; }; /** * NodeSearchMenu - Searchable context menu for creating nodes with multiple view modes */ export declare const NodeSearchMenu: React.FC;