import { getAllTemplates, getTemplate, getTemplatesByTag, getTemplatesByCategory, searchTemplates, getTemplateStats, } from './meta/index.js';
/**
 * Registry of all available domain templates with their metadata.
 * This provides a central location for UI components to discover and present templates.
 *
 * The templates are pre-processed at build time using the generate-template-metadata.js script
 * to avoid loading and processing all templates on the client side.
 */
// eslint-disable-next-line @typescript-eslint/no-extraneous-class
export class TemplateRegistry {
    /**
     * Gets all available templates
     */
    static getAllTemplates() {
        return getAllTemplates();
    }
    /**
     * Gets a template by its ID
     */
    static getTemplate(id) {
        return getTemplate(id);
    }
    /**
     * Gets templates filtered by tags
     */
    static getTemplatesByTag(tag) {
        return getTemplatesByTag(tag);
    }
    /**
     * Gets templates filtered by category (based on tags)
     */
    static getTemplatesByCategory(category) {
        return getTemplatesByCategory(category);
    }
    /**
     * Searches templates by name or description
     */
    static searchTemplates(query) {
        return searchTemplates(query);
    }
    /**
     * Gets template statistics for analytics
     */
    static getTemplateStats() {
        return getTemplateStats();
    }
}
//# sourceMappingURL=template-registry.js.map