/** * Manages the registration and retrieval of HTML templates. * Implements the singleton pattern to ensure a single global instance. * * @public */ export declare class DataTemplateRegistry { private static _instance; private readonly _registry; /** * Constructs a new instance of the `DataTemplateRegistry` class. * * @public */ constructor(); /** * Accesses the singleton instance of the TemplateRegistry. * * @public * @returns {DataTemplateRegistry} The singleton instance. */ static get instance(): DataTemplateRegistry; /** * Registers a template with a unique ID. * * @public * @param {string} templateId - The unique identifier for the template. * @param {HTMLTemplateElement} template - The template element to register. */ registerTemplate(templateId: string, template: HTMLTemplateElement): void; /** * Retrieves a template by its ID. * * @public * @param {string} templateId - The unique identifier for the template. * @returns {HTMLTemplateElement | undefined} The template element, if found. */ getTemplate(templateId: string): HTMLTemplateElement | undefined; /** * Removes a template from the registry by its ID. * * @public * @param {string} templateId - The unique identifier for the template to remove. */ removeTemplate(templateId: string): void; } //# sourceMappingURL=DataTemplateRegistry.d.ts.map