/// declare global { namespace jest { interface Matchers { /** * Asserts that a value is a function using `async` and `await` syntax. * @example * expect(async () => { await fetch('...') }).toBeAsyncFunction(); */ toBeAsyncFunction(): R; } interface Expect { /** * Asserts that a value is a function using `async` and `await` syntax. * @example * expect(async () => { await fetch('...') }).toEqual( * expect.toBeAsyncFunction() * ); */ toBeAsyncFunction(): JestMatchers; } } } export declare const toBeAsyncFunctionMatcher: (value: unknown) => jest.CustomMatcherResult;