/** * Hook for managing Claude subprocess and streaming. */ import { ContentStore } from '../../lib/content-store.js'; import type { DetectedImage } from '../../lib/image-utils.js'; export interface ClaudeProcessOptions { mcpConfigPath: string; contentStore: ContentStore; onText: (text: string) => void; onComplete: (fullResponse: string) => void; onError: (error: string) => void; onExternalize?: (contentId: string, sizeKB: number) => void; /** Called once with TTFT in ms (time from spawn to first text chunk) */ onTTFT?: (ms: number) => void; } export interface ClaudeProcessHandle { invoke: (userMessage: string, systemPrompt: string, images?: DetectedImage[]) => void; kill: () => string; } export declare function useClaudeProcess(options: ClaudeProcessOptions): ClaudeProcessHandle; //# sourceMappingURL=useClaudeProcess.d.ts.map