import { Emitter, type FrameworkEvents } from '@pawel-up/lupa/testing/api'; import type { BenchmarkReport, SuiteReport } from '../index.js'; /** Called by the browser plugin once Lupa injects its emitter. */ export declare const setEmitter: (e: Emitter) => void; /** Returns the emitter set by the browser plugin, or null if not yet initialised. */ export declare const getEmitter: () => Emitter | null; declare module '@pawel-up/lupa/testing/api' { interface CustomRunnerEvents { 'benchmark:result': BenchmarkReport; 'benchmark:suite:end': SuiteReport; } } //# sourceMappingURL=shared.d.ts.map