import Conf from 'conf';
const defaultConfig = {
    outputDir: './gen-output',
};
export const config = new Conf({
    projectName: 'gen-cli',
    defaults: defaultConfig,
});
export function getConfig() {
    return config.store;
}
export function setConfig(key, value) {
    config.set(key, value);
}
export function getConfigValue(key) {
    return config.get(key);
}
export function deleteConfig(key) {
    config.delete(key);
}
export function resetConfig() {
    config.clear();
}
export function isValidConfigKey(key) {
    const validKeys = [
        'outputDir',
    ];
    return validKeys.includes(key);
}
//# sourceMappingURL=config.js.map