Version: NextMethods
- addFilter(name: string, callback: (...args: any[]) => string): any
- addGlobal(name: string, value: any): any
- getFilter(name: string): any
- hasExtension(name: string): boolean
- render(name: string, context?: Record<string, any>, callback?: TemplateCallback<string>): any
- renderString(tpl: string, context?: Record<string, any>, options?: RenderOptions, callback?: TemplateCallback<string>): any