import type { Icondition, ITableColumn } from './types'; /** * 尝试解析字符串json数据,转为对象 */ export declare const ut_str_to_obj: (str: any) => any; /** * 尝试将对象转为json字符串 */ export declare const ut_obj_to_str: (obj: any) => any; /** * 生成sql的过滤条件 */ export declare const ut_createConditions: (carr: Icondition[], fieldIntercept?: TfieldInterceptFn) => { sql: string; values: any[]; }; /** * 替换两个字符中间的字符 */ export declare const ut_replaceBetween: (str: string, start: string, end: string, replaceStr?: string) => string; /** * 提取有效值 * @param v * @param df 提取失败时的默认值 */ export declare const ut_effectiveValue: (v: any, df?: any) => any; /** * 查询表结构中指定key的列配置信息 */ export declare const ut_findColumn: (arr: Array, keyName: string) => ITableColumn | undefined; /** * 获取表结构列配置的map数据 * @param arr * @param interceptFn 返回false则过滤掉当次的数据 */ export declare const ut_getColumnMap: (arr: Array, interceptFn?: (data: TanyObj) => boolean) => Map;