/** * Utilities for parsing stream-json output from Claude CLI. */ export interface StreamJsonMessage { type?: string; subtype?: string; message?: { content?: Array<{ type: string; text?: string; }>; }; result?: string; } /** * Extract text content from a stream-json line. * Returns null if the line doesn't contain assistant text. */ export declare function extractTextFromStreamLine(line: string): string | null; /** * Check if a stream line indicates completion. */ export declare function isStreamComplete(line: string): boolean; /** * Check if a stream line indicates an error. */ export declare function isStreamError(line: string): { isError: boolean; message?: string; }; //# sourceMappingURL=streamParser.d.ts.map