import { AgentBase, type SpawnPlan } from '../../../core/agent-base.js'; import type { AgentSendOpts } from '../../../core/types.js'; export declare class AntigravityAdapter extends AgentBase { readonly name = "antigravity"; readonly aliases: string[]; readonly kind: "cli"; /** Resolved once on first use — survives the process lifetime. * null = "we haven't probed yet"; undefined = "probed and didn't find". */ private resolvedBin; protected get commandName(): string; /** Lazy mcp-config write guard. Without this, every send would touch * the global mcp_config.json. Read-modify-write does a no-op fast-path * when the file is already correct, but we still avoid the disk hit. */ private mcpReady; /** Last conversation directory mtime we saw before launching a run. * Used to identify the newly-created .pb after a fresh run finishes. */ private snapshotConversationMtimes; /** Diff snapshots to find the newly-created .pb file. Returns the UUID * portion (.pb stripped) of whichever file is new OR has a newer mtime * than the snapshot, prioritising the freshest one. */ private detectNewConversation; protected buildArgs(prompt: string, opts: AgentSendOpts): string[]; protected prepareCommand(prompt: string, opts: AgentSendOpts): Promise; /** agy --print emits plain stdout text, not JSONL. The base spawnStream * passes non-JSON lines through verbatim — return '' here so we don't * double-emit when the rare JSON-shaped line slips through. */ protected extractText(_event: unknown): string; /** agy reports "Authentication required" when the OAuth token is missing * or expired. Map that to a friendly hint pointing at `agy login`. */ protected handleError(_code: number, stderr: string, errorMessage: string): string | null; protected emptyOutputMessage(stderr: string, errorMessage: string): string | null; protected notAvailableMessage(): string; isAvailable(): Promise; } export declare const antigravityAdapter: AntigravityAdapter; //# sourceMappingURL=index.d.ts.map