/** * @name 从一组路径里查找到所有json文件 * @export * @param {Array} pathArr * @returns {Set} */ export declare function findJson(pathArr: Set): Set; /** * @name 已知前后文取中间文本 * @export * @param {string} str * @param {string} start * @param {string} end * @returns {(string | null)} */ export declare function getStr(str: string, start: string, end: string): string | null; /** * @name 差集 * @export * @template T * @param {Set} current * @param {Set} target * @returns {Set} */ export declare function difference(current: Set, target: Set): Set; /** * @name 获取交集 * @export * @template T * @param {Set} current * @param {Set} target * @returns {Set} */ export declare function intersect(current: Set, target: Set): Set; /** * @name 获取并集 * @export * @template T * @param {Set} current * @param {Set} target * @returns {Set} */ export declare function union(current: Set, target: Set): Set; /** * @name 格式化json * @export * @template T * @param {T} data * @returns {string} */ export declare function formatJsonByFile(data: T): string; /** * @name 数组对象去重 * @export * @param {Array} arr 需要去重的数组或set * @param {*} [type] 需要根据哪个字段去重 * @returns */ export declare function deWeight(arr: Array | Set, type: any): Set;