import ModelOrch from '../../index'; /** * LlamaIndex LLM Adapter * * Provides backward compatibility with LlamaIndex's LLM interface. * Drop-in replacement for LlamaIndex LLM models. * * @example * ```typescript * import { ModelOrchLlamaIndexLLM } from '@modelorch/sdk/adapters/llamaindex'; * * const client = new ModelOrch({ api_key: 'your-key' }); * const llm = new ModelOrchLlamaIndexLLM({ * client: client, * modelName: 'gpt-4', * }); * * const response = await llm.complete('What is AI?'); * ``` */ export declare class ModelOrchLlamaIndexLLM { private client; private modelName?; private temperature?; private maxTokens?; private policyId?; constructor(options: { client: ModelOrch; modelName?: string; temperature?: number; maxTokens?: number; policyId?: string; }); /** * LlamaIndex-compatible complete method */ complete(prompt: string, options?: { stop?: string[]; stream?: boolean; }): Promise<{ text: string; raw?: unknown; }>; /** * LlamaIndex-compatible chat method */ chat(messages: Array<{ role: string; content: string; }>, options?: { stop?: string[]; stream?: boolean; }): Promise<{ message: { role: string; content: string; }; raw?: unknown; }>; /** * LlamaIndex-compatible stream method */ stream(prompt: string, options?: { stop?: string[]; }): AsyncGenerator<{ text: string; delta: string; }>; /** * Get model metadata */ get metadata(): Record; /** * Get model class name */ get class_name(): string; } //# sourceMappingURL=llm.d.ts.map