import { CoreModels__NS__GitConnection, UtilsOs__NS__Editor } from 'tnp-core/lib-prod';
import { BaseDb } from './classes/base-db';
import type { BaseProjectResolver } from './classes/base-project-resolver';
declare const defaultDb: {
    config: {
        [key: string]: string | number | boolean | null;
    };
};
export declare abstract class ConfigDatabaseEx<T = object> {
    protected KEY_PATH_DB: string;
    protected configDb: ConfigDatabase;
    constructor(KEY_PATH_DB: string, configDb: ConfigDatabase);
    getValue(): Promise<T | undefined>;
    setValue(v: T): Promise<T>;
    protected selectOneValue(arrOfValues: string[], question?: string): Promise<string>;
}
export declare class CodeEditorConfig extends ConfigDatabaseEx<UtilsOs__NS__Editor> {
    getValue(): Promise<UtilsOs__NS__Editor>;
    selectCodeEditor(): Promise<UtilsOs__NS__Editor>;
}
export declare class SshHttpsPreferenceConfig extends ConfigDatabaseEx<CoreModels__NS__GitConnection> {
    getValue(): Promise<CoreModels__NS__GitConnection>;
    selectHttpOrSsh(): Promise<CoreModels__NS__GitConnection>;
}
export declare class ConfigDatabase extends BaseDb<typeof defaultDb> {
    constructor(ins: BaseProjectResolver);
    codeEditor: CodeEditorConfig;
    httpOrHttps: CodeEditorConfig;
}
export {};
