import type { EventBus } from "../../core/event-bus.ts"; import { type RpcObservationScope, type SubagentRpcCommand, type SubagentRpcEvent } from "../../core/subagent-rpc.ts"; import type { RpcResponse } from "./rpc-types.ts"; /** One native source per host binding. Subscription callbacks cannot cross generations. */ export declare class RpcSubagentBridge { private disposed; private unsubscribe; private source; private revision; private fingerprint; private value; private bus; private output; private scope; private sourceError; constructor(bus: EventBus | undefined, output: (event: SubagentRpcEvent) => void, scope: RpcObservationScope); private missing; /** Call after extension binding, including startup, session switch and reload. */ initialize(): void; private update; request(command: SubagentRpcCommand): RpcResponse; dispose(): void; }