/**
 * Configuration File Support
 * Loads and manages configuration from .rga.config.js files
 */
export interface RgaConfig {
    defaults?: {
        output?: string;
        format?: 'markdown' | 'json' | 'yaml';
        retries?: number;
        retryBackoff?: number;
        retryMaxDelay?: number;
        quiet?: boolean;
    };
    ai?: {
        provider?: string;
        timeout?: number;
        maxTokens?: number;
    };
    integrations?: {
        confluence?: {
            spaceKey?: string;
            parentPageTitle?: string;
            labelPrefix?: string;
        };
        sharepoint?: {
            siteUrl?: string;
            libraryName?: string;
            folderPath?: string;
        };
        git?: {
            autoCommit?: boolean;
            commitMessage?: string;
            autoPush?: boolean;
        };
    };
    aliases?: Record<string, string[]>;
    plugins?: string[];
    advanced?: {
        enablePerformanceMonitoring?: boolean;
        logLevel?: 'error' | 'warn' | 'info' | 'debug';
        cacheEnabled?: boolean;
        maxConcurrentOperations?: number;
    };
}
declare class ConfigManager {
    private config;
    private configPath;
    /**
     * Load configuration from files
     */
    loadConfig(searchPaths?: string[]): Promise<RgaConfig>;
    /**
     * Load a specific config file
     */
    private loadConfigFile;
    /**
     * Load JSON configuration
     */
    private loadJsonConfig;
    /**
     * Load JavaScript configuration
     */
    private loadJsConfig;
    /**
     * Get current configuration
     */
    getConfig(): RgaConfig;
    /**
     * Get configuration path
     */
    getConfigPath(): string | null;
    /**
     * Get default value with config override
     */
    getDefault<T>(key: keyof RgaConfig['defaults'], fallback: T): T;
    /**
     * Get AI configuration
     */
    getAiConfig(): RgaConfig['ai'];
    /**
     * Get integration configuration
     */
    getIntegrationConfig(): RgaConfig['integrations'];
    /**
     * Get aliases
     */
    getAliases(): Record<string, string[]>;
    /**
     * Get advanced settings
     */
    getAdvancedConfig(): RgaConfig['advanced'];
    /**
     * Check if performance monitoring is enabled
     */
    isPerformanceMonitoringEnabled(): boolean;
    /**
     * Get log level
     */
    getLogLevel(): string;
    /**
     * Merge with command line options
     */
    mergeWithCliOptions<T extends Record<string, any>>(cliOptions: T): T;
    /**
     * Generate example config file
     */
    generateExampleConfig(): string;
}
export declare const configManager: ConfigManager;
/**
 * Initialize configuration
 */
export declare function initializeConfig(): Promise<RgaConfig>;
export {};
//# sourceMappingURL=configFile.d.ts.map