import type { CliPermissionMode } from "../config/schema.js"; import type { BridgeChunk, BridgeOptions, BridgeResult, CLIBridge } from "./types.js"; export declare abstract class BaseCLIBridge implements CLIBridge { readonly name: string; protected model: string; protected binaryPath: string; protected permissionMode: CliPermissionMode; constructor(opts: { name: string; model: string; binaryPath: string; permissionMode?: CliPermissionMode; }); protected buildSpawnEnv(): NodeJS.ProcessEnv; available(): Promise; protected spawnAndCollect(args: string[], signal?: AbortSignal): Promise<{ stdout: string; stderr: string; exitCode: number; }>; abstract execute(prompt: string, options?: BridgeOptions): Promise; abstract stream(prompt: string, options?: BridgeOptions): AsyncIterable; } //# sourceMappingURL=base-cli.d.ts.map