/** * Cortex Chat V2 — Uses Claude Code as the execution engine * * Instead of calling the Claude API directly (requires API key), * this routes chat messages through Claude Code's CLI (which uses * the user's existing Claude subscription — Max, Team, or Enterprise). * * The user doesn't need an API key — they just need to be logged * into Claude Code (which they already are if they use Genius Team). */ export interface ChatResponse { content: string; source: 'claude-code' | 'local'; actions?: { label: string; type: string; value: string; }[]; } /** * Send a message through Claude Code with Cortex MCP tools * Uses claude -p (print mode) with --bare for fast execution */ export declare function chatWithCC(message: string): Promise; /** * Check if Claude Code is available and logged in */ export declare function isCCAvailable(): boolean;