/**
 * Template Engine
 *
 * Variable substitution and rendering engine for templates.
 *
 * @since v1.69.0
 */
import type { ConfigTemplate, TemplateRenderResult, TemplateVariableValues } from './template-types.js';
/**
 * Template rendering engine
 */
export declare class TemplateEngine {
    private variables;
    private errors;
    private currentFile;
    /**
     * Render a complete template
     */
    render(template: ConfigTemplate, variables: TemplateVariableValues): TemplateRenderResult;
    /**
     * Render a single string with variables
     */
    renderString(template: string, variables?: TemplateVariableValues): string;
    /**
     * Extract variable names from template string
     */
    extractVariables(template: string): string[];
    /**
     * Validate template syntax
     */
    validateSyntax(template: string): {
        valid: boolean;
        errors: string[];
    };
    private processConditionals;
    private processUnless;
    private processLoops;
    private processFilters;
    private processVariables;
    private isTruthy;
}
/**
 * Create a new template engine instance
 */
export declare function createTemplateEngine(): TemplateEngine;
//# sourceMappingURL=template-engine.d.ts.map