/** * Interactive Chat Loop - Ink Version * Modern React-based CLI interface using Ink */ import type { McpState, McpToolResult } from './types.js'; import type { WechatGatewayService } from '../wechat/service.js'; /** * Chat options */ export interface ChatOptions { mcpState?: McpState; onMcpToolCall?: (callId: string, serverName: string, toolName: string, args: Record) => Promise; mcpClient?: unknown; debug?: boolean; initialMessage?: string; resumeConversationId?: string; cliMode?: { enabled?: boolean; }; gatewayEnabled?: boolean; gatewayPollInterval?: number; gatewaySessionName?: string; wechatService?: WechatGatewayService; modelTier?: 'lite' | 'flash' | 'pro'; } /** * Start the interactive chat loop using Ink */ export declare function startChat(options?: ChatOptions): Promise; /** * Send a single message (non-interactive mode) * Used for programmatic usage and one-shot commands */ export declare function sendMessage(message: string, options?: ChatOptions): Promise; //# sourceMappingURL=chat.ink.d.ts.map