UNPKG

@dharshansr/gitgenius

Version:

AI-powered commit message generator with enhanced features

37 lines 1.15 kB
import { ConfigOptions, ConfigLevel } from '../types.js'; export declare class ConfigManager { private config; private globalConfig; private projectConfig; private securityManager; private encryptionKey; constructor(); /** * Get or create encryption key for secure API key storage */ private getOrCreateEncryptionKey; private getDefaultConfig; private initProjectConfig; private autoMigrate; handleConfig(key?: string, value?: string, options?: ConfigOptions): Promise<void>; private getConfigWithInheritance; private backupConfig; private restoreConfig; private validateCurrentConfig; private applyTemplate; private exportConfig; private importConfig; private migrateConfigManual; private resetConfig; private listConfig; private setConfigInteractive; private setApiKey; private setProvider; private setModel; private setConfig; setConfigValue(key: string, value: any): void; getConfig(key: string, level?: ConfigLevel): any; hasApiKey(): boolean; getApiKey(): string; } //# sourceMappingURL=ConfigManager.d.ts.map