import React from "react"; import type { TreeProps } from "antd"; import type { SearchProps } from "antd/lib/input/Search"; import "./OperateMenuTree.less"; export declare type OperateMenuTreeProps = TreeProps & { fieldNames?: { title?: "title"; key?: "key"; children?: "children"; isLeaf?: "isLeaf"; }; mode?: "primary" | "directory"; renderOperationMenuItems: (node: Record) => React.ReactNode; showSearch?: boolean; searchParams?: SearchProps; onAutoExpandParent?: (autoExpandParent: boolean) => void; }; export declare const OperateMenuTree: React.FC;