import { ILLM, CompletionCallback, LLMResult } from './llm/type.js'; export { LLMError, LLMErrorType } from './llm/type.js'; declare class LLM { llm: ILLM; constructor(llm: new () => ILLM); load(config: LoadConfig): Promise; createCompletion(params: LLMInferenceArguments, callback: CompletionCallback, abortSignal?: AbortSignal): Promise; getEmbedding(params: LLMEmbeddingArguments): Promise; getDefaultEmbeddings(text: string): Promise; tokenize(content: TokenizeArguments): Promise; } export { CompletionCallback, ILLM, LLM, LLMResult, LLM as LLama };