export declare function tryExtractTextFromStreamJsonLine(line: string): string | undefined;
export declare function tryExtractThinkingFromStreamJsonLine(line: string): string | undefined;
export declare function tryExtractSessionIdFromStreamJsonLine(line: string): string | undefined;
export interface StreamJsonStdoutResult {
    content: string;
    displayText: string;
    hasResult: boolean;
    success: boolean;
    error?: string;
    structuredOutput?: Record<string, unknown>;
}
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