@mastra/core
Version:
The core foundation of the Mastra framework, providing essential components and interfaces for building AI-powered applications.
11 lines • 369 B
TypeScript
import { WritableStream } from 'stream/web';
export declare class ToolStream<T> extends WritableStream<T> {
constructor({ prefix, callId, name, runId, }: {
prefix: string;
callId: string;
name: string;
runId: string;
}, originalStream?: WritableStream);
write(data: any): Promise<void>;
}
//# sourceMappingURL=stream.d.ts.map