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