import type { Strategy } from '../definitions/plugin-config.js'; export type TemplateContext = Record; type OptionalSource = T | null | undefined; export declare function createTemplateContext(context: object, strategy: Strategy): TemplateContext; /** * Renders one or more template strings sequentially using lodash.template. * * @param templates - A single template string or an array of template strings. * @param context - The context object passed to each template during rendering. * @returns An array of rendered strings. */ export declare function renderTemplates(templates: string | string[], context: TemplateContext): string[]; /** * Resolves the first non-empty template from multiple sources and renders it. * * @param sources - A list of template string sources, ordered by priority (highest first). * @param context - The rendering context passed to lodash.template. * @returns The rendered string, or undefined if no valid source is found. */ export declare function resolveAndRenderTemplate(sources: Array>, context: TemplateContext): string | undefined; /** * Resolves the first non-empty template (or array of templates) from multiple sources * and renders all templates sequentially. * * @param sources - A list of template sources (string or string array), ordered by priority. * @param context - The rendering context passed to lodash.template. * @returns An array of rendered strings, or undefined if no valid source is found. */ export declare function resolveAndRenderTemplates(sources: Array>, context: TemplateContext): string[] | undefined; export {}; //# sourceMappingURL=template-utils.d.ts.map