export interface FilterTreeByNameNode {
    /** 分类名称 */
    name?: string;
    /** 子分类列表 */
    children?: FilterTreeByNameNode[];
    [key: string]: any;
}
/**
 * 过滤树
 */
export declare function filterTreeByName<T extends FilterTreeByNameNode>(nodes: T[], searchName: string, options?: {
    nameKey: string;
    childrenKey: string;
}): T[];
