declare global { namespace jest { interface Matchers { /** * Used to check if a value is a Option (either a Some or a None). */ readonly toBeOption: () => R; } interface Expect { /** * Used to check if a value is a Option (either a Some or a None). */ readonly toBeOption: () => any; } } } /** * Check that the received value is an Option */ export declare const toBeOption: (received: unknown) => any;