/** * Claude query executor * * Executes Claude queries using the Agent SDK and handles * response processing and error handling. */ import type { ClaudeSpawnOptions, ClaudeResult } from './types.js'; /** * Executes Claude queries using the Agent SDK. * * Handles query lifecycle (register/unregister), streaming, * assistant text accumulation, and error classification. */ export declare class QueryExecutor { /** * Execute a Claude query. * If session resume fails with a process exit error, retries without resume. */ execute(prompt: string, options: ClaudeSpawnOptions): Promise; /** * Execute a single Claude query attempt. */ private executeOnce; /** * Handle query execution errors. * Classifies errors (abort, auth, timeout) and returns appropriate ClaudeResult. */ private static handleQueryError; } export declare function executeClaudeQuery(prompt: string, options: ClaudeSpawnOptions): Promise; //# sourceMappingURL=executor.d.ts.map