/**
 * 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<ClaudeResult>;
    /**
     * 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<ClaudeResult>;
//# sourceMappingURL=executor.d.ts.map