export declare class ObjectUtil { /** * Other way to clone * const clone = JSON.parse(JSON.stringify(source)); * @param source */ static CopyTo(source: any): any; /** * * @param target * @param path * @returns */ static removeAtPath(target: object, path: (string | number)[]): boolean; /** * * @param target Data object * @param path Path for to set value * @param value value * @returns Data object with has set value */ static setAtPath(target: object, path: (string | number)[], value: any): any; /** * * @param to * @param from * @returns */ static setValues(to: any, from: any): any; /** * Converts a string path to a value that is existing in a json object. * * @param {Object} jsonData Json data to use for searching the value. * @param {Object} path the path to use to find the value. * @returns //{valueOfThePath|null} */ static jsonPathToValue(jsonData: any, path: string): any; /** * * @param items * @param key * @param value */ static findObjectByKey(items: [], key: string, value: any): any; /** * * @param value * @param path * @returns */ static getValue(value: any, path?: (number | string)[]): any; /** * * @param collection * @param path * @returns */ private static getArrayValues; /** * * @param source * @param path * @returns */ private static getObjectValues; /** * * @param value * @param currentKey * @returns */ static flattenObj(value: any, currentKey?: any): object; /** * * @param collection * @returns */ static flatten(collection: any[]): any; /** * * @param target * @param sources * @returns */ static merge(target: object, ...sources: object[]): any; /** * * @param path * @param obj * @param target * @returns */ static search(path: any, obj: any, target: any): any; } //# sourceMappingURL=ObjectUtil.d.ts.map