import { type CdpServerBaseOptions } from "./http"; export type BunUpstream = { /** Upstream Bun inspector WebSocket URL, e.g. ws://127.0.0.1:6499/abc */ url: string; /** Optional human label shown in chrome://inspect. */ label?: string; }; export type BunCdpServerOptions = CdpServerBaseOptions & { upstreams: BunUpstream[]; }; export type BunCdpServer = { stop(): void; getTargets(): BunUpstream[]; }; export declare function startBunCdpServer(opts: BunCdpServerOptions): Promise;