import type { AgentSession } from "../../core/agent-session.js"; import type { BashResult } from "../../core/bash-executor.ts"; import type { BashOutputChannel } from "../../core/tools/bash.js"; import type { RpcOutput } from "./rpc-responses.ts"; /** * Owns direct RPC bash executions independently from the replaceable session * event binding. This keeps streaming and cancellation attached to the session * that started the request until its single terminal response settles. */ export declare class RpcBashRequestOwners { private readonly active; private readonly output; constructor(output: RpcOutput); run(request: { id: string | undefined; session: AgentSession; command: string; excludeFromContext?: boolean; isCurrent: () => boolean; }, execute: (onUpdate: (delta: string, channel: BashOutputChannel) => void) => Promise): Promise; abort(requestId?: string): void; dispose(): Promise; } //# sourceMappingURL=rpc-bash-request-owners.d.ts.map