/// import { TestContextHookFn, TestContext, HookOptions, HookFn } from "node:test"; /** * Registers an `beforeEach` hook function. * * Registers on the {@link TestContext} if not null, otherwise * registers it as a suite hook function. * * @param fn - The function to register. * @param options - The hook function options. */ export declare function beforeEach(fn: TestContextHookFn | HookFn, t?: TestContext, options?: HookOptions): void;