UNPKG

@mastra/core

Version:

Mastra is a framework for building AI-powered applications and agents with a modern TypeScript stack.

16 lines 651 B
import type { LanguageModelV1StreamPart } from 'ai'; import type { RegisteredLogger } from '../../../logger/index.js'; import { MastraModelInput } from '../../base/index.js'; import type { ChunkType } from '../../types.js'; export declare class AISDKV4InputStream extends MastraModelInput { constructor({ component, name }: { component: RegisteredLogger; name: string; }); transform({ runId, stream, controller, }: { runId: string; stream: ReadableStream<LanguageModelV1StreamPart>; controller: ReadableStreamDefaultController<ChunkType>; }): Promise<void>; } //# sourceMappingURL=input.d.ts.map