import type { Edge, Node } from '../../xyflow/react.ts';
import type React from 'react';
import type { BaseNodeData } from '../BaseNode';
import type { ListItem } from '../Toolbox';
import { AddNodePanel } from './AddNodePanel';
import type { NodeItemData } from './AddNodePanel.types';
export interface AddNodeManagerProps {
    customPanel?: React.ComponentType<React.ComponentProps<typeof AddNodePanel>>;
    initializing?: boolean;
    fetchNodeOptions?: (category?: string, search?: string) => Promise<ListItem<NodeItemData>[]>;
    createNodeData?: (nodeOption: ListItem<NodeItemData>) => BaseNodeData;
    onBeforeNodeAdded?: (newNode: Node, newEdges: Edge[]) => {
        newNode: Node;
        newEdges: Edge[];
    };
    onNodeAdded?: (sourceNodeId: string, sourceHandleId: string, newNode: Node) => void;
    ignoredNodeTypes?: string[];
}
export declare const AddNodeManager: React.FC<AddNodeManagerProps>;
//# sourceMappingURL=AddNodeManager.d.ts.map