UNPKG

@mastra/core

Version:

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

21 lines 530 B
import { MastraBase } from '../base.js'; interface BuiltInModelConfig { provider: string; name: string; apiKey?: string; } export interface TTSConfig { model: BuiltInModelConfig; } export declare abstract class MastraTTS extends MastraBase { model: BuiltInModelConfig; constructor({ model }: TTSConfig); abstract generate({ text }: { text: string; }): Promise<any>; abstract stream({ text }: { text: string; }): Promise<any>; } export {}; //# sourceMappingURL=index.d.ts.map