//#region src/string/template.d.ts /** * Replaces template placeholders with values from the data object. * * @param str - The template string * @param data - The data object with placeholder values * @returns The template string with placeholders replaced * * @example * template('Hello <%= name %>', { name: 'World' }) // => 'Hello World' * template('${name} is ${age} years old', { name: 'John', age: 30 }) // => 'John is 30 years old' */ declare function template(str: string, data?: Record): string; //#endregion export { template }; //# sourceMappingURL=template.d.cts.map