UNPKG

@tanstack/ai

Version:

Type-safe TypeScript AI SDK for streaming chat, tool calling, agents, structured outputs, and multimodal generation.

4 lines (3 loc) 197 B
import { StreamChunk } from '../types.js'; import { AdapterYieldChunk } from './adapter-yield-chunk.js'; export declare function normalizeStreamChunk(chunk: AdapterYieldChunk): Array<StreamChunk>;