export type TFile = {
    path: string;
    content: string;
    page?: number;
    filename?: string;
    saved?: boolean;
};
export declare enum SourceType {
    DIRECTORY = 0,
    PDF = 1
}
declare class Vectorizer {
    private memoryId;
    private apiKey;
    private readonly maxToken;
    private sourceType;
    constructor(api_key: string, maxToken: number, sourceType: SourceType, memoryId?: string);
    private ensureMemoryInitialized;
    private readPDFs;
    private readFilesFromRepo;
    readFiles(files: string[]): Promise<TFile[]>;
    vectorize(files: TFile[], progress: (file: TFile, totalFiles: number, step: "split" | "vectorize") => void): Promise<TFile[]>;
    getMemoryId(): string;
}
export default Vectorizer;
