/** * Simple Mustache Template Parser * * A minimal implementation of Mustache template rendering for variable substitution. * Supports only basic variable interpolation: {{variable}} * * No external dependencies - uses only native JavaScript. * * @example * renderTemplate('Hello {{name}}!', { name: 'World' }) * // Returns: 'Hello World!' */ export type TemplateData = Record; /** * Render a single template string with provided data * * @param template - Template string with {{variable}} placeholders * @param data - Data object with values to substitute * @returns Rendered string with variables replaced */ export declare function renderTemplate(template: string, data: TemplateData): string; /** * Render a template (string or array of strings) with provided data * * @param template - Single template string or array of template strings * @param data - Data object with values to substitute * @returns Array of rendered strings (one per line) */ export declare function renderTemplateLines(template: string | string[], data: TemplateData): string[];