declare global { namespace jest { interface Matchers { /** * Used to check if a value is a Some that contains a value that equals an expected value. See * Jest's [toEqual(value)](https://jestjs.io/docs/en/expect#toequalvalue) documentationfor * information about how the `.toEqual()` comparison works. */ readonly toEqualSome: (expected: unknown) => R; } interface Expect { /** * Used to check if a value is a Some that contains a value that equals an expected value. See * Jest's [toEqual(value)](https://jestjs.io/docs/en/expect#toequalvalue) documentationfor * information about how the `.toEqual()` comparison works. */ readonly toEqualSome: (expected: unknown) => any; } } } /** * Check that the received value is a Some that equals the expected value */ export declare const toEqualSome: (received: unknown, expected: unknown) => any;