import type { ProviderUsageSnapshot } from '../../core/models/response.js'; export declare function tryExtractTextFromStreamJsonLine(line: string): string | undefined; export declare function tryExtractThinkingFromStreamJsonLine(line: string): string | undefined; export interface StreamJsonToolUse { readonly tool: string; readonly id: string; readonly input: Record; } export declare function tryExtractToolUseFromStreamJsonLine(line: string): StreamJsonToolUse[]; export interface StreamJsonToolResult { readonly id: string; readonly content: string; readonly isError: boolean; } export declare function tryExtractToolResultFromStreamJsonLine(line: string): StreamJsonToolResult[]; export declare function tryExtractSessionIdFromStreamJsonLine(line: string): string | undefined; export interface StreamJsonStdoutResult { content: string; displayText: string; hasResult: boolean; success: boolean; error?: string; structuredOutput?: Record; providerUsage?: ProviderUsageSnapshot; } export declare function aggregateResultFromStdout(stdout: string): StreamJsonStdoutResult; export declare function aggregateContentFromStdout(stdout: string): string; export declare function extractSessionIdFromStdout(stdout: string): string | undefined; //# sourceMappingURL=stream-json-lines.d.ts.map