import { type AgentAdapter } from './types.js'; /** * Claude Code adapter: the daemon owns a DEDICATED Agent SDK session in the * customer repo (streaming input mode) and pushes each human-approved * instruction as a new user turn. The SDK cannot attach to a running * interactive TUI — the customer's own session is never touched. * * Runs on the CUSTOMER'S OWN Claude auth: unlike the wizard's scrubChildEnv * (which strips ANTHROPIC_* to force our gateway), the daemon must PRESERVE * the customer's ANTHROPIC_* / CLAUDE_CONFIG_DIR — only nested-session * markers are stripped so a daemon started from inside a Claude Code session * doesn't confuse the child runtime. */ export declare function daemonChildEnv(base?: NodeJS.ProcessEnv): Record; /** Minimal pushable AsyncIterable — the streaming-input prompt source. */ export declare class PushableAsyncIterable implements AsyncIterable { private queue; private waiters; private ended; push(value: T): void; end(): void; [Symbol.asyncIterator](): AsyncIterator; } export declare function createClaudeCodeAdapter(): AgentAdapter; //# sourceMappingURL=claude-code.d.ts.map