/** * Handlebars Engine * Converts Handlebars templates to binja's common AST format */ import type { TemplateNode } from '../../parser/nodes'; export { HandlebarsLexer, HbsTokenType, type HbsToken } from './lexer'; export { HandlebarsParser } from './parser'; /** * Parse a Handlebars template string into an AST */ export declare function parse(source: string): TemplateNode; /** * Compile a Handlebars template to a render function */ export declare function compile(source: string): (context: Record) => Promise; /** * Render a Handlebars template with context */ export declare function render(source: string, context?: Record): Promise; /** * Engine interface for multi-engine support */ export declare const engine: { name: string; extensions: string[]; parse: typeof parse; compile: typeof compile; render: typeof render; }; //# sourceMappingURL=index.d.ts.map