import type { LupaPlugin } from '../runner/types.js'; export type { ModuleMock } from './fixture.js'; /** * Opt-in Lupa plugin that enables native ESM module mocking in browser tests. * * Adds the `module` fixture to `TestContext`, allowing tests to mock ES module * exports with full isolation — each test gets its own mock scope that is * automatically torn down when the test finishes. * * @example * ```ts * // lupa.config.ts * import { defineConfig } from '@pawel-up/lupa/runner' * import { moduleMocking } from '@pawel-up/lupa/module-mock' * * export default defineConfig({ * plugins: [moduleMocking()] * }) * ``` */ export declare function moduleMocking(): LupaPlugin;