import { CoreClient, ICoreKernel, ICoreKernelModule } from '@grandlinex/core';
import { LangData } from '../lib/index.js';
import GLang from '../class/GLang.js';
import LangDb from '../db/LangDb.js';
import Translation from '../db/entity/Translation.js';
export default class LangClient extends CoreClient<ICoreKernel<any>, LangDb, LangClient, null, null> {
    static STORE_TRANSLATION_PATH: string;
    static DEFAULT_LANG_DB_KEY: string;
    constructor(module: ICoreKernelModule<any, any, any, any, any>);
    hasLang(code: string): Promise<boolean>;
    getAllTranslation(): Promise<Translation[]>;
    getLang(code: string, scopes?: string[]): Promise<LangData | undefined>;
    getDefault(scopes?: string[]): Promise<LangData | undefined>;
    getCur(scopes?: string[]): Promise<LangData | null>;
    getCurTranslator(scopes?: string[]): Promise<GLang>;
    getLangList(): Promise<{
        code: string;
        label: string;
    }[]>;
    loadLangFromFolder(path: string, scope?: string): Promise<void>;
    setDbLang(lang: string): Promise<void>;
    getDbLang(): Promise<string>;
}
