import type { beforeEach as jestBeforeEach, afterEach as jestAfterEach } from '@jest/globals';
type Callback<T> = (this: T) => any;
declare const _default: (beforeEach: typeof jestBeforeEach, afterEach: typeof jestAfterEach) => <T>(before: Callback<T>, after?: Callback<T> | undefined) => void;
export default _default;
