declare global { namespace jest { interface Matchers { /** * Used to check if a value is consistent with a These. In other words, this * matcher confirms that the value is a Left, a Right, or a Both. * * Note that a Left or a Right value is also consistent with an Either and would also pass a * `.toBeEither()` test. */ readonly toBeThese: () => R; } interface Expect { /** * Used to check if a value is consistent with a These. In other words, this * matcher confirms that the value is a Left, a Right, or a Both. * * Note that a Left or a Right value is also consistent with an Either and would also pass a * `.toBeEither()` test. */ readonly toBeThese: () => any; } } } /** * Matches if the received value is a These */ export declare const toBeThese: (received: unknown) => any;