declare global { namespace jest { interface Matchers { /** * Used to check if a value is a Left. */ readonly toBeLeft: () => R; } interface Expect { /** * Used to check if a value is a Left. */ readonly toBeLeft: () => any; } } } /** * Check that the received value is a Left */ export declare const toBeLeft: (received: unknown) => any;