export = RanTemplate; /** * @class RanTemplate * @description Has information about how an template was generated. */ declare class RanTemplate { /** * Creates a template * * @param {string} name - Template name * @param {string} version - Template version * @param {Source} source - Generated Template Source * @param {object[]} parameters - Template parameters * @param {RanPartial[]} partials - Generated partials for this template */ constructor(name: string, version: string, source: typeof Source, parameters?: object[], partials?: RanPartial[]); /** * Template name * * @description The template name must follow the pattern [a-z-]{3,} * @type {string} */ name: string; /** * Template version * * @description Should follow the semver patterns (https://semver.org/) * @type {string} */ version: string; /** * Generated template source * * @type {Source} */ source: typeof Source; /** * Parameters used to generate template. * * @type {object} */ parameters: object; /** * Generated partials for this template. * * @type {RanPartial[]} */ partials: RanPartial[]; } import Source = require("./source"); import RanPartial = require("./ran-partial");