export declare function sortKeys(json: unknown): any;
export declare function normalizeJsonAsString(json: unknown): string;
export declare function serializeObj(obj: unknown): string;
export declare function deserializeObj<T = any>(str: string): T;
export declare function encodeValueForMapping(value: unknown): string;
export declare function decodeValueForMapping(encodedString: string): any;
/**
 * Compares 2 objects by their normalized JSON value.
 * This function should not be used with objects with circular references.
 * Returns true if the object are equal.
 */
export declare function compareByNormalizedJsonValue<T>(v1: T | undefined, v2: T | undefined): boolean;
/**
 * Compares 2 objects by their normalized JSON value for specific fields only.
 * This function should not be used with objects with circular references.
 * Returns true if the specified fields are equal.
 */
export declare function compareByNormalizedJsonValueForFields<T>(v1: T | undefined, v2: T | undefined, fields: Array<keyof T>): boolean;
