import { Configurer } from '../Core/index'; import { PageContent } from '../CommonTypes'; import { TemplateInfo } from './TemplateTypes'; /**Template engine to produce documents from parameterized templates.
An admin creates templates.
Users produce documents.
The implementation uses the freemarker engine.*/ export declare class TemplateConfigurer extends Configurer { /** * Administrative API for template management. * * You upload a default template with 'create' and add localizations with 'add'. * 'list' and 'delete' let you manage your existing templates. * Template syntax is NOT checked. It will be lazily parsed the first time it is used. * */ /** * Uploads a localized template * * Uploads a new localized template 'file' for the given 'name' and 'languageTag' (IETF BCP 47), replacing an existing one if it already exists. The default template for the given 'name' must exist. * This API needs Content-Type 'multipart/form-data' * */ add(): Promise; /** * Uploads a template * * Uploads a new default template 'file' for the given 'name', replacing an existing one if it already exists. * This API needs Content-Type 'multipart/form-data' * */ create(): Promise; /** * Lists template information * * Returns a paginated list of previously uploaded template information. * */ list(): Promise>; }