import { DocumentTemplate, TemplateContext, TemplateVariable } from '../types'; export declare class TemplateEngine { private templatesDir; constructor(templatesDir?: string); /** * Generate document from template */ generateFromTemplate(templateName: string, context: TemplateContext, outputPath?: string): Promise; /** * Load template by name */ loadTemplate(name: string): Promise; /** * List available templates */ listTemplates(): Promise; /** * Render template with context variables */ private renderTemplate; /** * Extract variables from template */ extractVariables(template: string): TemplateVariable[]; /** * Create custom template */ createTemplate(name: string, template: DocumentTemplate, overwrite?: boolean): Promise; } export declare function loadTemplate(name: string): Promise; export declare function getAvailableTemplates(): Promise; //# sourceMappingURL=index.d.ts.map