/**
 * Grok-CLI Bindings for FCS
 *
 * Provides full integration with code-buddy features:
 * - AI/CodeBuddy API calls
 * - Tool execution (read, edit, search, grep)
 * - Context management
 * - Agent control
 * - MCP integration
 */
import { FCSConfig, FCSValue } from './types.js';
interface CodeBuddyClientInterface {
    chat(messages: Array<{
        role: string;
        content: string;
    }>): Promise<string>;
    complete(prompt: string): Promise<string>;
}
interface MCPManagerInterface {
    callTool(server: string, tool: string, args: Record<string, unknown>): Promise<unknown>;
    listServers(): string[];
    listTools(server: string): string[];
}
interface CodeBuddyBindingsConfig extends FCSConfig {
    codebuddyClient?: CodeBuddyClientInterface;
    mcpManager?: MCPManagerInterface;
    conversationHistory?: Array<{
        role: string;
        content: string;
    }>;
    contextFiles?: Set<string>;
}
/**
 * Create code-buddy bindings for FCS
 */
export declare function createGrokBindings(config: CodeBuddyBindingsConfig, print: (msg: string) => void): Record<string, FCSValue>;
/**
 * Set the Grok client instance (called from code-buddy initialization)
 */
export declare function setCodeBuddyClient(client: CodeBuddyClientInterface): void;
/**
 * Set the MCP manager instance
 */
export declare function setMCPManager(manager: MCPManagerInterface): void;
export {};
