import { RenderOptions } from '../types'; import { ITemplateEngine } from './engines/base'; /** * Rendering service for templates * Responsible for rendering templates with variables */ export declare class PromptRenderer { /** * Render a template with variables */ render(engine: ITemplateEngine, template: string, variables: Record, options?: RenderOptions): string; /** * Safe render that returns errors instead of throwing */ safeRender(engine: ITemplateEngine, template: string, variables: Record, options?: RenderOptions): { success: boolean; result?: string; error?: string; }; /** * Validate template syntax */ validateTemplate(engine: ITemplateEngine, template: string): { valid: boolean; error?: string; }; /** * Extract variables from template */ extractVariables(engine: ITemplateEngine, template: string): string[]; } //# sourceMappingURL=renderer.d.ts.map