UNPKG

jorel

Version:

A unified wrapper for working with LLMs from multiple providers, including streams, images, documents & automatic tool use.

23 lines (22 loc) 543 B
export declare class OpenRouter { constructor(config?: any); chat: { sendChatCompletion: jest.Mock<any, any, any>; }; } export declare class EventStream { constructor(stream?: any); [Symbol.asyncIterator](): AsyncGenerator<{ type: string; data: { id: string; choices: { delta: { content: string; role: string; }; finish_reason: null; }[]; }; }, void, unknown>; }