export = Appender; declare class Appender { /** * Applies a processors pipeline to a content, given an specific context. * * @param {Array} appenders - Processors to be executed * @param {object} context The context of generation. The processor can change context output to next processors. * @param {string} srcStr The string to be appended * @param {string} destStr The string where srcStr must be appended * @returns {Promise} The pipeline append result */ static runAppendersPipeline(appenders: Array, context: object, srcStr: string, destStr: string): Promise; /** * @typedef {object} AppenderResult * @property {object} context The context of generation. The processor can change context output to next processors. * @property {string} result The result string of process. * @property {string} unprocessed The string that was not processed by the processor. When the processor process the content and include it in the result, the default behavior is remove the content of the inputted string. */ /** * Process the input. * * @param {object} context The context of generation * @param {string} srcStr The string to be appended * @param {string} destStr The string where srcStr must be appended * @returns {Promise} The process result */ append(context: object, srcStr: string, destStr: string): Promise; }