import { Database } from 'better-sqlite3';
import { WordEmbeddingType, Language, WordEmbeddingDimension } from '../types';
export declare const isSupportedWordEmbedding: (locale: Language, kind: WordEmbeddingType, dimension: WordEmbeddingDimension) => boolean;
export declare class WordEmbeddingsDBHelper {
    private _embeddingsFilename;
    private _embeddingsAbsolutePath;
    private _db;
    private _statement;
    isValidWEmbedding: boolean;
    constructor(kind: WordEmbeddingType, dimension: WordEmbeddingDimension, locale: Language);
    private _downloadIfNotExists;
    initialize({ logProcess }: {
        logProcess?: boolean;
    }): Promise<void>;
    private _connect;
    private _prepareStatement;
    get instance(): Database;
    select(word: string): Promise<{
        token: string;
        vector: number[];
    }>;
    close(): void;
}
