/** * CLI Integration for Advanced Template Engine * * This demonstrates how to integrate the revolutionary database-backed * template system with your existing CLI while preserving all functionality. * * @version 3.0.0 * @author Requirements Gathering Agent Team * @created June 2025 */ /** * Enhanced CLI Template Commands * * Add these functions to your existing CLI to support both static and dynamic templates */ /** * Enhanced showAvailableTemplates that combines static and dynamic templates */ export declare function showAvailableTemplatesEnhanced(): Promise; /** * Generate document using advanced template engine */ export declare function generateDocumentAdvanced(templateId: string, options?: { variables?: Record; outputDir?: string; quiet?: boolean; }): Promise; /** * Show detailed information about a specific template */ export declare function showTemplateInfo(templateId: string): Promise; /** * Migrate static templates to dynamic format */ export declare function migrateStaticTemplates(options?: { force?: boolean; }): Promise; /** * Parse variables from command line arguments */ export declare function parseVariablesFromArgs(args: string[]): Record; /** * Integration functions for existing CLI */ export declare const CLI_INTEGRATION: { /** * Add these command handlers to your main CLI function */ commandHandlers: { '--list-templates': typeof showAvailableTemplatesEnhanced; '--generate-advanced': typeof generateDocumentAdvanced; '--template-info': typeof showTemplateInfo; '--migrate-templates': typeof migrateStaticTemplates; }; /** * Add these argument parsers */ argumentParsers: { parseVariables: typeof parseVariablesFromArgs; }; /** * Example integration in main CLI function */ exampleIntegration: string; }; export default CLI_INTEGRATION; //# sourceMappingURL=CLIIntegration.d.ts.map