/**
 * @this {NunjucksContext}
 * @param {FormSubmissionError[]} errors
 */
export function checkErrorTemplates(this: NunjucksContext, errors: FormSubmissionError[]): FormSubmissionError[];
/**
 * @this {NunjucksContext}
 * @param {ComponentViewModel} component
 */
export function checkComponentTemplates(this: NunjucksContext, component: ComponentViewModel): ComponentViewModel;
/**
 * @this {NunjucksContext}
 * @param {string} template
 */
export function evaluate(this: NunjucksContext, template: string): string;
export function govukRebrand(): boolean;
export const paths: string[];
export const environment: nunjucks.Environment;
import type { FormSubmissionError } from '~/src/server/plugins/engine/types.js';
import type { NunjucksContext } from '~/src/server/plugins/nunjucks/types.js';
import type { ComponentViewModel } from '~/src/server/plugins/engine/components/types.js';
import nunjucks from 'nunjucks';
