import { CompiledTemplate } from './MustardParser'; import { PipeRegistry } from './pipes'; /** * Main template engine that brings together parsing, rendering and pipe functions * Use this as the main entry point for template operations */ export declare class Mustard { private parser; private pipeRegistry; private templateCache; constructor(customPipeRegistry?: PipeRegistry); /** * Render a template with the given context */ render(template: string, context: Record): string; /** * Get a compiled template function */ getTemplate(template: string): CompiledTemplate; /** * Register a custom pipe function */ registerPipe(name: string, fn: (value: any, ...args: any[]) => any): void; /** * Clear the template cache */ clearCache(): void; } export declare function bindFunctions(context: Record, functions: Record): Record; export declare function createEngine(customPipes?: Record any>): Mustard;