import { T as TemplateRenderer } from "../packem_shared/types.d-BU-37j3S.js"; /** * Zero-dependency `{{var}}` interpolation renderer. Edge-safe and peer-free. * * Replaces `{{ key }}` / `{{ a.b.c }}` placeholders with the matching value from * `data`. Unmatched placeholders render as an empty string. Whitespace inside the * braces is ignored. This is intentionally minimal — for conditionals/loops use the * Handlebars or Liquid renderers. * @param template The template string containing `{{var}}` placeholders. * @param data The data/variables to interpolate. * @returns The rendered string. * @throws {TypeError} When the template is not a string. * @example * ```ts * renderString("Hi {{ user.name }}, code {{code}}", { code: "123", user: { name: "Ada" } }); * // => "Hi Ada, code 123" * ``` */ declare const renderString: TemplateRenderer; export { renderString as default, renderString };