/** * Automatic llms.txt generation from project documentation * Follows llms.txt v1.0 standard (Sept 2024, Jeremy Howard - Answer.AI) * * @see https://llmstxt.org/ */ export interface LlmsTxtConfig { /** Project name */ projectName: string; /** Short project description */ projectDescription: string; /** Tech stack organized by category */ techStack: Record; /** Documentation directory path */ docsPath: string; /** Project root directory */ projectRoot?: string; /** Patterns to exclude from documentation scan */ excludePatterns?: string[]; /** Additional quick links to include */ quickLinks?: Array<{ file: string; description: string; }>; } export interface DocumentMetadata { path: string; title: string; description: string; category: 'core' | 'technical' | 'guides' | 'deployment' | 'other'; } export declare class LlmsTxtGenerator { private config; constructor(config: LlmsTxtConfig); /** * Generate llms.txt file */ generate(outputPath?: string): Promise; /** * Build complete llms.txt content */ private buildContent; /** * Generate header with project info */ private generateHeader; /** * Generate tech stack section */ private generateTechStack; /** * Generate quick links section */ private generateQuickLinks; /** * Auto-discover quick links from numbered docs */ private discoverQuickLinks; /** * Generate complete documentation index */ private generateDocumentationIndex; /** * Process documents to extract metadata */ private processDocuments; /** * Categorize documents by type */ private categorizeDocuments; /** * Determine document category from filename */ private determineCategory; /** * Extract document title from content */ private extractTitle; /** * Extract document description */ private extractDocDescription; /** * Generate key patterns section */ private generateKeyPatterns; /** * Generate common commands section */ private generateCommonCommands; /** * Generate file structure section */ private generateFileStructure; /** * Generate AI guidance section */ private generateAIGuidance; /** * Generate footer with metadata */ private generateFooter; } /** * Convenience function to generate llms.txt from config */ export declare function generateLlmsTxt(config: LlmsTxtConfig, outputPath?: string): Promise; //# sourceMappingURL=llms-txt-generator.d.ts.map