import React from "react"; import type { TreeProps } from "antd"; import type { SearchProps } from "antd/lib/input/Search"; import "./MenuTree.less"; export declare type ContextMenuTreeProps = TreeProps & { fieldNames?: { title?: "title"; key?: "key"; children?: "children"; isLeaf?: "isLeaf"; }; mode?: "primary" | "directory"; showSearch?: boolean; searchParams?: SearchProps; contextMenuItems: { key: string; label: string; }[]; onClickContextMenu?: (contextKey: string, node: { key: string; title: string; }) => void; onAutoExpandParent?: (autoExpandParent: boolean) => void; }; export declare const ContextMenuTree: React.FC;