import DocumentContext from "./DocumentContext"; import { Comparator } from "@wortise/sequency"; import BigNumber from "bignumber.js"; declare const isNullOrUndefined: (value: any) => value is null | undefined; declare const isNullOrEmpty: (value?: string | null) => value is null | undefined; declare const isMap: (value: any) => value is Record; declare function getAsString(value: T): string; declare function getAsString(value: T): null; declare const isNumberType: (a: any) => boolean; declare const numberToBigDecimal: (a: any) => BigNumber; declare const compareTo: (a: any, b: any) => number | null; declare const getDocumentContext: (value: any) => DocumentContext; declare const createPayloadResolver: (payload: any, additionalContext?: Record) => { get: (name: string) => any; }; declare const singleQuotedStringJsonParse: (input: string) => any; declare const isTruthy: (value: any, javascriptStyle?: boolean) => boolean; declare const isEqual: (value: any, other: any) => boolean; /** * Merges the given value object deep into the given root object at the path specified creating any missing path elements * * @param rootEl Object to merge values into * @param value the value to merge into the root * @param path the json path to merge the value at * @return the updated root object */ declare function mergeInto(rootEl: Record, value: any, path: string | null): Record; export type JsonMergeOptions = { deep?: boolean; concatArrays?: boolean; }; declare function merge(target: Record, source: Record, options?: JsonMergeOptions): Record; declare function createComparator(type: string | null): Comparator; declare function toObjectFieldPath(key: string): string; declare function unwrapNumber(n: any, reduceBigDecimals?: boolean): any; export { isNullOrUndefined, isNullOrEmpty, isMap, getAsString, createPayloadResolver, isNumberType, numberToBigDecimal, compareTo, createComparator, getDocumentContext, singleQuotedStringJsonParse, isTruthy, isEqual, mergeInto, merge, toObjectFieldPath, unwrapNumber, }; //# sourceMappingURL=JsonHelpers.d.ts.map