type Tree = { children?: any[]; }; /** * @description: 转换成treeData * @author: liujialiang * @date: 2023-09-11 15:49:39 * @version: V1.0.0 */ export declare const toTreeData: (list: T[], option: { keyProp: keyof T; titleProp: keyof T; }) => import("@pkg/types").DataNode[]; export {};