import type { DataRecord } from '@overture-stack/lectern-dictionary'; /** * Create a unique string out of an arbitrary array of data record values. This can be used * as a unique identifier for an object with these properties and values. This type of hash is needed * to check uniqueKey constraints. * * To generate a unique string from an object, the object is converted to an array of [key, value] tuples. * Properties with an `undefiend` value are filtered out. * These tuples are sorted by key name to ensure they are compared in the same order. * Finally, the array is stringified using JSON.stringify(). * * This can be used to compare uniqueKeys across many data records by building a map of the hash of * the uniqueKey values from each record. * @param values any DataRecord or subset of fields from a DataRecord */ export declare const hashDataRecord: (values: DataRecord) => string;