import type { ChildProcess } from "node:child_process"; import type { AcpConnector, AcpStreamMessage } from "./core/types.js"; import { type McpProxyPool } from "./fixes/stale-mcp-endpoints/index.js"; export * from "./fixes/index.js"; export * from "./core/types.js"; export * from "./core/session-cache.js"; export * from "./core/transport.js"; export * from "./core/pipeline.js"; export * from "./core/supervisor.js"; export * from "./core/command.js"; export * from "./setup.js"; export declare const PROMPT_RETRY_DELAY_MS = 500; export interface AntigravityConnectorOptions { spawnProcess?: (cmd: string, args: string[]) => ChildProcess | Promise; recycleTimeoutMs?: number; /** Total spawn+resync attempts per recycle before giving up (including the first). */ recycleSpawnAttempts?: number; /** Delay between failed respawn attempts. */ recycleRetryDelayMs?: number; promptSettlementTimeoutMs?: number; customDbPathGetter?: (sessionId: string) => string; } /** * Creates an in-process ACP connector stream that launches the official `agy_acp_server` binary, * automatically downloading it if not present, and applies mode option filtering, outbound MCP adaptation, * text sanitization, hang detection, and transparent process recycling. */ export declare function createAntigravityConnector(proxies?: McpProxyPool, options?: AntigravityConnectorOptions): AcpConnector; export type { AcpConnector, AcpStreamMessage }; //# sourceMappingURL=index.d.ts.map