export abstract class MultiModalModel { /** * starts the model */ abstract start(): Promise; /** * stops the model */ abstract stop(): Promise; // Defines a streaming interface for chat interactions. // The implementation will vary based on the specific AI model. abstract chatStream(input: ReadableStream): ReadableStream; }