import type { JsonObject } from '../conversion/hub/types/json.js';
import type { ServerSideToolEngineOptions, ServerSideToolEngineResult, ToolCall } from './types.js';
import './handlers/iflow-model-error-retry.js';
import './handlers/antigravity-thought-signature-bootstrap.js';
import './handlers/stop-message-auto.js';
import './handlers/clock.js';
import './handlers/clock-auto.js';
import './handlers/exec-command-guard.js';
import './handlers/apply-patch-guard.js';
import './handlers/continue-execution.js';
import './handlers/review.js';
export declare function runServerSideToolEngine(options: ServerSideToolEngineOptions): Promise<ServerSideToolEngineResult>;
export declare function extractToolCalls(chatResponse: JsonObject): ToolCall[];
export declare function cloneJson<T>(value: T): T;
export declare function extractTextFromChatLike(payload: JsonObject): string;
