/** * Template Loader - Loads and populates template files with variables * * Provides caching and variable substitution for markdown templates */ export interface TemplateVariables { [key: string]: number | string | undefined; } export declare class TemplateLoader { private templateCache; /** * Load a template file from data/templates/ * Results are cached for performance */ loadTemplate(templateName: string): Promise; /** * Populate template with variable values * Replaces {{variableName}} placeholders with actual values */ populateTemplate(template: string, variables: TemplateVariables): string; /** * Load a template and populate it with variables in one call */ renderTemplate(templateName: string, variables: TemplateVariables): Promise; /** * Clear the template cache * Useful for testing or if templates are modified at runtime */ clearCache(): void; } /** * Get the singleton TemplateLoader instance */ export declare function getTemplateLoader(): TemplateLoader; /** * Reset the singleton instance (useful for testing) */ export declare function resetTemplateLoader(): void; //# sourceMappingURL=template-loader.d.ts.map