adpa-enterprise-framework-automation
Version:
Modular, standards-compliant Node.js/TypeScript automation framework for enterprise requirements, project, and data management. Provides CLI and API for BABOK v3, PMBOK 7th Edition, and DMBOK 2.0 (in progress). Production-ready Express.js API with TypeSpe
67 lines • 2.3 kB
TypeScript
/**
* Configuration utilities for centralized configuration management
*
* Provides utilities to access and manage application configuration
* as recommended in CLI-REFACTOR-IMPLEMENTATION-GUIDE.md section 4
*
* @version 2.1.3
* @author Requirements Gathering Agent Team
* @created July 2025
*
* @filepath c:\Users\menno\Source\Repos\requirements-gathering-agent\src\utils\config.ts
*/
/**
* Interface for the main RGA configuration
*/
export interface RGAConfig {
currentProvider?: string;
defaultOutputDir?: string;
providers?: Record<string, any>;
docsVcs?: {
enabled?: boolean;
autoCommit?: boolean;
};
confluence?: {
baseUrl?: string;
};
sharepoint?: {
siteUrl?: string;
};
}
/**
* Read and parse the main RGA configuration file
* @param projectRoot - Optional project root directory
* @returns The parsed configuration object
*/
export declare function loadRGAConfig(projectRoot?: string): Promise<RGAConfig>;
/**
* Read and parse the processor configuration file
* @param projectRoot - Optional project root directory
* @returns The parsed processor configuration object
*/
export declare function loadProcessorConfig(projectRoot?: string): Promise<Record<string, any>>;
/**
* Check if the main configuration file exists
* @param projectRoot - Optional project root directory
* @returns True if configuration file exists
*/
export declare function hasRGAConfig(projectRoot?: string): boolean;
/**
* Check if the processor configuration file exists
* @param projectRoot - Optional project root directory
* @returns True if processor configuration file exists
*/
export declare function hasProcessorConfig(projectRoot?: string): boolean;
/**
* Get the current AI provider from configuration
* @param projectRoot - Optional project root directory
* @returns The current provider name or undefined
*/
export declare function getCurrentProvider(projectRoot?: string): Promise<string | undefined>;
/**
* Get the default output directory from configuration
* @param projectRoot - Optional project root directory
* @returns The default output directory or fallback value
*/
export declare function getDefaultOutputDir(projectRoot?: string): Promise<string>;
//# sourceMappingURL=config.d.ts.map