import { ConfigKey } from '../../types';
declare class ConfigBase {
    get path(): string;
    run: (action: string, key: string, value: string) => Promise<any>;
    writeConfig(path: string, key: string, value: unknown): Promise<void>;
    isValid(key: ConfigKey, value: unknown): boolean;
    get: <T = string>(key: ConfigKey, needPrint?: boolean) => T;
    list: (needPrint?: boolean) => Promise<void>;
    set: <T = string>(key: ConfigKey, value: T) => Promise<void>;
    remove: (key: ConfigKey) => Promise<void>;
}
export default ConfigBase;
