import { Config, Embeddable, EmbeddingBase } from "./types";
import { cosineSimilarity } from "./utils";
export { cosineSimilarity };
export declare function loadEmbedding(filePath: string): Promise<Embeddable<any>[]>;
export declare function getConfiguredEmbeddingMap(): Promise<{
    [filePath: string]: Embeddable<any>[];
}>;
export declare function getConfiguredEmbeddings(): Promise<Embeddable<any>[]>;
export declare function detectDeletedEmbeddingFiles(source: Config["embedSources"][0], ignorePattern: string[], embeddings: Embeddable[]): Promise<void>;
export declare function embedSource(model: Config["embeddingModel"], source: Config["embedSources"][0], ignorePattern: string[]): Promise<void>;
export declare function embed(model: string, id: string, text: string, metadata: any, embeddings: Embeddable[], prompt?: string, chunkSize?: number, uploadMode?: boolean, minLength?: number): Promise<string[]>;
export declare function isEmbeddingFile(inputFile: string): Promise<boolean>;
export declare function embedJson(model: string, inputFile: string, source: Config["embedSources"][0]): Promise<void>;
export declare function embedKind(model: Config["embeddingModel"], id: string, source: Config["embedSources"][0], embeddings?: Embeddable[]): Promise<void>;
export declare function handleAllKinds(id: string, source: Config["embedSources"][0]): Promise<Partial<Embeddable>[]>;
export declare function saveEmbedding(output: string, embeddings: Embeddable[]): Promise<void>;
export declare function pruneEmbedding(id: string, chunkIds: string[], embeddings: Embeddable[]): Embeddable<any>[];
export declare function pruneVector(embeddings: Embeddable[]): void;
export declare function pruneMetadata(embeddings: Embeddable[], characterLimit?: number): void;
export declare function queryEmbedding<E>(query: string, embeddings: Embeddable<E>[], model?: string): Promise<EmbeddingBase<E>[]>;
