import arrow from 'apache-arrow'; import { embedding } from "@lancedb/lancedb"; import { FunctionOptions } from "@lancedb/lancedb/dist/embedding/embedding_function"; import { EmbeddingAPIType } from "../../../types/embedding"; import { IEmbeddings } from "../../../interfaces/IEmbedding"; export declare class ReAIEmbeddingFunction extends embedding.EmbeddingFunction { #private; type: EmbeddingAPIType; baseUrl: string; model: string; apiKey: string; constructor(options?: FunctionOptions); toJSON(): object; ndims(): number; embeddingDataType(): arrow.Float; computeQueryEmbeddings(_data: string): Promise; computeSourceEmbeddings(data: string[]): Promise; getEmbeddingAPI(type: EmbeddingAPIType): IEmbeddings; }