import type { AIMessageChunk } from '@langchain/core/messages'; import type { AgentContext } from '@/agents/AgentContext'; import type { StandardGraph } from '@/graphs'; import type * as t from '@/types'; import { Providers } from '@/common'; export declare function getChunkContent({ chunk, provider, reasoningKey, }: { chunk?: Partial; provider?: Providers; reasoningKey: 'reasoning_content' | 'reasoning'; }): string | t.MessageContentComplex[] | undefined; export declare class ChatModelStreamHandler implements t.EventHandler { handle(event: string, data: t.StreamEventData, metadata?: Record, graph?: StandardGraph): Promise; handleReasoning(chunk: Partial, agentContext: AgentContext): void; } export declare function createContentAggregator(): t.ContentAggregatorResult;