/** * -------------------------------------------------------------------- * docmd : the zero-config documentation engine. * * @package @docmd/core (and ecosystem) * @website https://docmd.io * @repository https://github.com/docmd-io/docmd * @license MIT * @copyright Copyright (c) 2025-present docmd.io * * [docmd-source] - Please do not remove this header. * -------------------------------------------------------------------- */ /** * Renders an EJS template string with provided data. * * This module is purely a template renderer — it contains NO URL logic. * Every URL transformation goes through the single source of truth in * `utils/url-utils.ts` (buildContextualUrl, buildRootRelativeUrl, * rewriteHtmlLinks). The generator binds those functions to the current * page's UrlContext and passes them in as `buildRelativeUrl` / * `buildAbsoluteUrl` template helpers. * * Uses lite-template natively, with a preprocessor hook to automatically * strip YAML frontmatter out of any recursive file includes. */ declare function renderTemplateAsync(templateString: any, data: any, options?: any): Promise; export { renderTemplateAsync };