import { HttpService } from '@nestjs/axios'; import { EngineExtension } from './engine.abstract'; export type ChatStreamEvent = { type: 'data' | 'error' | 'end'; data?: any; error?: any; }; export declare abstract class OAIEngineExtension extends EngineExtension { protected readonly httpService: HttpService; abstract apiUrl: string; constructor(httpService: HttpService); inference(createChatDto: any, headers: Record, writableStream: WritableStream, res?: any): void; }