declare namespace deepEqual { /** * Memoization class used to speed up comparison. */ class MemoizeMap extends WeakMap {} interface DeepEqualOptions { /** * Override default algorithm, determining custom equality. */ comparator?: (leftHandOperand: T1, rightHandOperand: T2) => boolean | null; /** * Provide a custom memoization object which will cache the results of * complex objects for a speed boost. * * By passing `false` you can disable memoization, but this will cause circular * references to blow the stack. */ memoize?: MemoizeMap | false; } } /** * Assert deeply nested sameValue equality between two objects of any type. * * @param leftHandOperand * @param rightHandOperand * @param [options] Additional options * @return equal match */ declare function deepEqual( leftHandOperand: T1, rightHandOperand: T2, options?: deepEqual.DeepEqualOptions, ): boolean; export = deepEqual;