import type { AgentMessage, AgentRunArgs, AgentRunner } from './agent-runner.js'; /** Strip tool_call fences and normalize whitespace on crush's plain-text * stdout. Exported for unit testing (crush-runner.test.ts). */ export declare function parseCrushOutput(stdout: string): { text: string; rawText: string; }; export interface CrushAgentRunnerOptions { crushBin?: string; /** Enable usage-proxy accounting. Off by default since the base-URL env * var it relies on is CONFIRMED not read by crush at all (see file * header) — turning this on fails closed (usage stays 0) rather than * breaking turns, but collects nothing until the JSON-config-based fix * described in the file header is implemented. */ usageProxy?: { upstreamBaseUrl: string; baseUrlEnvVar?: string; }; } export declare class CrushAgentRunner implements AgentRunner { private crushBin?; private usageProxyOpts?; constructor(opts?: CrushAgentRunnerOptions); run(args: AgentRunArgs): AsyncIterable; private runTurn; } //# sourceMappingURL=crush-runner.d.ts.map