import { CnEmployeeOptionProps, CnSelectFromType, CnSelectServiceType } from './types';
/**
 * 数据源格式化
 * @param items 原始数据源
 * @returns 符合组件结构的数据源
 */
export declare function processDataSource(items: any): any[];
/**
 * 格式化返回数据
 * @param res 原始返回数据
 * @returns 格式化后可被下拉组件使用的数据
 */
export declare function formatResponse(res: any): CnEmployeeOptionProps[];
/**
 * 搜索
 */
export declare function search(params: {
    /** 搜索值 */
    value: string;
    /** 是否mokelay中心化接入 */
    mokelay?: boolean;
    /** 数据源类型 */
    serviceType?: CnSelectServiceType;
    /** 请求类型 */
    fromType?: CnSelectFromType;
    /** 自定义请求域名 */
    host?: string;
    /** 自定义请求路径 */
    path?: string;
    /** 员工属性类型 */
    typeList?: string[];
    /** 是否在职员工 */
    isOnJob?: boolean;
}): Promise<CnEmployeeOptionProps[]>;
