import { type EnvConfig } from '../config/env.js'; import { type BridgeManager } from './manager.js'; /** * The dev hot-swap loop: while BRIDGE_HOT_SWAP_ENABLED is set and * BRIDGE_HOT_SWAP_WATCH points at the built dispatcher bundle, push the bundle * to the extension whenever (a) the extension (re)connects with a different * build than the one on disk — e.g. after an EasyEDA restart it comes back * with the stale baked dispatcher — or (b) the bundle file changes on disk * (the extension build:watch rebuilt it). Combined with `tsx watch` for the * server this closes the edit → run loop without any .eext re-import. */ export declare function startHotSwapWatcher(bridge: BridgeManager, config: EnvConfig): () => void;