export interface ExistingRules {
    source: string;
    content: string;
    type: 'agents' | 'rules' | 'instructions';
}
export declare class ExistingRulesExtractor {
    private projectPath;
    private skipAgentsMd;
    private static readonly AI_CONFIG_FILES;
    constructor(projectPath: string, skipAgentsMd?: boolean);
    /**
     * Find and extract content from existing AI configuration files
     */
    extractExistingRules(): ExistingRules[];
    /**
     * Clean content and extract only AI-relevant information
     */
    private cleanAndExtractRelevantContent;
    /**
     * Extract AI agent specific sections
     */
    private extractAIAgentSections;
    /**
     * Extract rules file content
     */
    private extractRulesSections;
    /**
     * Extract general instructions from any file
     */
    private extractGeneralInstructions;
    /**
     * Extract key paragraphs based on content analysis
     */
    private extractKeyParagraphs;
    /**
     * Determine the type of configuration file
     */
    private determineFileType;
    /**
     * Merge existing rules into a single consolidated section
     */
    static mergeExistingRules(existingRules: ExistingRules[]): string;
}
//# sourceMappingURL=existing-rules-extractor.d.ts.map