/** * Substitute strings placed between square brackets into value defined in `variables` object. String names defined in * square brackets must be the same as property name of `variables` object. * * Lives in its own module, not in `helpers/string`, so that `helpers/console` can use it without * importing `helpers/string` — `helpers/string` needs `deprecatedWarnOnce` from `helpers/console`, * and the resulting cycle would leave one of the two modules reading an uninitialized binding. * * @param {string} template Template string. * @param {object} variables Object which contains all available values which can be injected into template. * @returns {string} */ export declare function substitute(template: string, variables?: Record): string;