import Handlebars from 'handlebars'; import { Globals } from './globals.js'; export declare class Templates { protected handlebars: typeof Handlebars; protected templates: Record; protected globals: Record; constructor(builtInDir: string, customDir: string, globals: Globals, handlebars: typeof Handlebars); /** * Applies a template with a given model * @param templateName The template name (file without .handlebars extension) * @param model The model variables to be passed in to the template */ apply(templateName: string, model?: object | null | undefined): string; protected loadTemplate(dir: string, file: string): void; protected setGlobals(globals: Globals): void; }