import { spawn } from "node:child_process"; import type { StructuredExecHost } from "./structured-exec-host.js"; import type { StructuredRunnerAdapter, StructuredRunnerContext, StructuredRunnerExecution, StructuredRunnerObserver } from "./structured-runner.js"; import type { SessionSnapshot } from "./types.js"; export declare function buildQoderArgs(session: SessionSnapshot, prompt: string): string[]; /** Owns the official Qoder CLI print process and its stream-json protocol. */ export declare class QoderRunner implements StructuredRunnerAdapter { private readonly spawnProcess; private readonly execHost?; constructor(spawnProcess?: typeof spawn, execHost?: StructuredExecHost | undefined); start(context: StructuredRunnerContext, observer: StructuredRunnerObserver): StructuredRunnerExecution; }