/** * Deep equal comparison. Two values are "deep equal" when: * * - They are equal, according to samsam.identical * - They are both date objects representing the same time * - They are both arrays containing elements that are all deepEqual * - They are objects with the same set of properties, and each property * in ``actual`` is deepEqual to the corresponding property in ``expectation`` * * Supports cyclic objects. * @alias module:samsam.deepEqual * @param {unknown} actual The object to examine * @param {unknown} expectation The object actual is expected to be equal to * @param {object} match A value to match on * @returns {boolean} Returns true when actual and expectation are considered equal */ declare function deepEqualCyclic(actual: unknown, expectation: unknown, match: object): boolean; declare namespace deepEqualCyclic { var use: (match: any) => (a: any, b: any) => boolean; } export = deepEqualCyclic;