import EmailTemplate from "./email-template"; /** An email template backed by a template file. */ export default class FileTemplate extends EmailTemplate { /** The path to the template file. */ private templatePath; /** Construct given the path to the template file relative to the templates folder. */ constructor(templatePath: string); /** Loads the template from the template file. */ protected loadTemplate(): Promise; /** Loads the text template from the accompanying plaintext template file. */ protected loadTextTemplate(): Promise; } /** A template folder contains email templates and allows quick loading of template files. */ export declare class TemplateFolder { /** The path to the template folder. */ readonly basePath: string; /** Construct given the folder path segments */ constructor(...segments: string[]); /** Create a file template given the relative path segments within this template folder. */ load(...segments: string[]): FileTemplate; }