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