import nunjucks, { ConfigureOptions, Template as NunjucksTemplate, TemplateCallback as NunjucksTemplateCallback, Environment as NunjucksEnvironment } from 'nunjucks'; export default class NunjucksClient { private nunjucks; init(config: NunjucksConfigureOptions): Promise; getClient(): nunjucks.Environment; compile(template: string, env?: NunjucksEnvironment | undefined, callback?: NunjucksTemplateCallback): nunjucks.Template; render(template: string, context: Record): string; renderString(template: string, context: Record): string; } type NunjucksConfigureOptions = { path: string; options?: ConfigureOptions; }; export { NunjucksClient, NunjucksConfigureOptions, NunjucksTemplate, NunjucksTemplateCallback, NunjucksEnvironment, };