import { type PrimativeKey, type ReadKeyFunction, type ReadMultipleKeysFunction } from '../key'; import { type Maybe } from '../value/maybe.type'; import { type EqualityComparatorFunction } from '../value/comparator'; /** * Creates an {@link EqualityComparatorFunction} that compares two arrays of objects by extracting keys * and checking that both arrays contain the same set of keys (order-independent). * * Returns `true` if both arrays have the same length and produce identical key sets. * Handles `null`/`undefined` inputs via {@link safeEqualityComparatorFunction}. * * @param readKey - Function to extract one or more keys from each object. * @returns An equality comparator for arrays of keyed objects. * * @dbxUtil * @dbxUtilCategory object * @dbxUtilKind factory * @dbxUtilTags object, key, equality, comparator, factory, array * @dbxUtilRelated object-key-equality-comparator-function, safe-equality-comparator-function * * @__NO_SIDE_EFFECTS__ */ export declare function objectKeysEqualityComparatorFunction(readKey: ReadKeyFunction | ReadMultipleKeysFunction): EqualityComparatorFunction>; /** * Creates an {@link EqualityComparatorFunction} that compares two objects by extracting a single key * from each and checking strict equality. * * Handles `null`/`undefined` inputs via {@link safeEqualityComparatorFunction}. * * @param readKey - Function to extract the key from an object. * @returns An equality comparator for keyed objects. * * @dbxUtil * @dbxUtilCategory object * @dbxUtilKind factory * @dbxUtilTags object, key, equality, comparator, factory * @dbxUtilRelated object-keys-equality-comparator-function, safe-equality-comparator-function * * @__NO_SIDE_EFFECTS__ */ export declare function objectKeyEqualityComparatorFunction(readKey: ReadKeyFunction): EqualityComparatorFunction>;