import type { ViteHotContext } from 'vite/types/hot.js'; import type { Emitter } from './emitter.js'; /** * The events manager is a pass-through from the Emitter to Vite's HMR context. */ export declare class EventManager { #private; constructor(emitter: Emitter, ctx?: ViteHotContext); /** * Boot the event manager. * * Forwards all emitter events — both built-in framework events and any custom events * emitted by browser-side plugins — to Node via the Vite HMR WebSocket channel. * Known events with errors are serialized before sending. */ boot(): void; }