import { spawn as nodeSpawn } from "node:child_process"; import type { DriverEventEnvelope, RuntimeDriver, RuntimeDriverRunHandle, RuntimeDriverRunInput } from "../types.js"; type SpawnFn = typeof nodeSpawn; export interface AgyCliDriverOptions { spawn?: SpawnFn; executable?: string; } export declare function buildAgyCliCommand(input: { prompt: string; cwd: string; model?: string; appendSystemPrompt?: string; resumeSessionId?: string; securityMode?: RuntimeDriverRunInput["securityMode"]; logFile?: string; additionalDirectories?: string[]; }): string[]; export declare class AgyCliDriver implements RuntimeDriver { readonly name: "agy"; private readonly spawnFn; private readonly executable; constructor(options?: AgyCliDriverOptions); run(input: RuntimeDriverRunInput, onEventRaw: (event: DriverEventEnvelope) => Promise | void): RuntimeDriverRunHandle; } export {};