/**
 * Stream parsing utilities for Claude CLI stream-json output
 */
import type { StreamMessage, ToolInput } from './types';
/**
 * Buffer for incomplete JSON lines during streaming
 */
export declare class StreamBuffer {
    private partialLine;
    /**
     * Process incoming data chunk and extract complete JSON messages
     * @param dataStr - Raw data string from stream
     * @returns Array of parsed StreamMessage objects
     */
    parseChunk(dataStr: string): StreamMessage[];
    /**
     * Reset buffer state
     */
    reset(): void;
}
/**
 * Format tool use message for verbose logging
 * @param toolName - Name of the tool
 * @param toolInput - Tool input parameters
 * @returns Formatted verbose message
 */
export declare function formatToolVerbose(toolName: string, toolInput: ToolInput): string;
//# sourceMappingURL=stream-parser.d.ts.map