UNPKG

@tomisakae/tomibot

Version:

TomiBot - AI Chatbot CLI với Google Genkit. Một chatbot AI thông minh chạy trên command line với giao diện đẹp.

31 lines 995 B
import { BotConfig, AIConfig, UIConfig } from './types'; export declare class ConfigManager { private static instance; private _botConfig; private _aiConfig; private _uiConfig; private constructor(); static getInstance(): ConfigManager; private loadBotConfig; get botConfig(): BotConfig; updateBotConfig(updates: Partial<BotConfig>): void; private loadAIConfig; get aiConfig(): AIConfig; updateAIConfig(updates: Partial<AIConfig>): void; hasValidAPIKey(): boolean; private loadUIConfig; get uiConfig(): UIConfig; updateUIConfig(updates: Partial<UIConfig>): void; validateConfiguration(): void; private validateBotConfig; private validateAIConfig; private validateUIConfig; isDevelopment(): boolean; isProduction(): boolean; exportConfig(): object; getConfigSummary(): string[]; reload(): void; reset(): void; } export declare const config: ConfigManager; //# sourceMappingURL=config.d.ts.map