import { type ToolDefinition } from "@opencode-ai/plugin"; /** * Agent Booster Tool * * Ultra-fast code editing engine using @sparkleideas/agent-booster. * - 52x faster than Morph LLM * - FREE (no API key required) * - Rust+WASM powered * * Uses lazy loading - only initializes when first called. */ export interface AgentBoosterEdit { path: string; oldContent: string; newContent: string; } export interface AgentBoosterResult { success: boolean; path: string; applied?: string; error?: string; fallback?: boolean; } /** * Apply edit with fallback to native implementation */ export declare function applyCodeEdit(edit: AgentBoosterEdit): Promise; /** * Check if agent-booster is available */ export declare function isBoosterAvailable(): Promise; /** * Get booster status */ export declare function getBoosterStatus(): Promise<{ available: boolean; version?: string; }>; export declare const hiveCodeEditTool: ToolDefinition; /** * Lazy edit marker tool - uses agent-booster's special marker syntax * Allows partial code snippets with // ... existing code ... placeholders */ export declare const hiveLazyEditTool: ToolDefinition; /** * Tool to check agent-booster status */ export declare const hiveBoosterStatusTool: ToolDefinition;