import { SearchParams } from '../../types';
/**
 * 数据选择器公共工具
 * 抽取 DataPicker 和 StarHorseDataSelector 的共享逻辑
 */
/** 构建代理/直连请求参数 */
export declare const buildRequestParams: (dataUrl: string, baseParams: Record<string, any>, proxy?: boolean, proxyUrl?: string) => {
    url: string;
    params: Record<string, any>;
};
/** 构建分页查询基础参数 */
export declare const buildPageParams: (queryParams: SearchParams[], extraParams?: SearchParams[], currentPage?: number, pageSize?: number) => Record<string, any>;
/** 递归查找树结构数据中匹配指定值的节点 */
export declare const findNodesInTree: (nodes: any[], targetValue: any, displayValue?: string) => any[];
/** 处理节点选择/取消选择逻辑 */
export declare const toggleNodeSelection: (node: any, currentSelection: any[], options: {
    multiple: boolean;
    checkStrictly: boolean;
    selectLeaf: boolean;
    displayValue: string;
}) => any[];
/** 通过接口加载选中数据（用于初始化回显） */
export declare const loadSelectedData: (dataUrl: string, value: any, displayValue?: string, extraParams?: SearchParams[], proxy?: boolean, proxyUrl?: string) => Promise<any[]>;
