/**
 * Pipeline template expression engine.
 *
 * Supports: ${{ args.xxx }}, ${{ data }}, ${{ data | json }}, ${{ error.message }}
 * Does NOT execute arbitrary JavaScript — only whitelisted expressions.
 */
export interface TemplateContext {
    args: Record<string, unknown>;
    data: unknown;
    error?: {
        code?: string;
        message?: string;
    };
}
/**
 * Resolve all `${{ ... }}` expressions in a string.
 */
export declare function resolveTemplate(template: string, ctx: TemplateContext): string;
/**
 * Deep-resolve templates in an object/array/string value.
 */
export declare function resolveTemplateDeep(value: unknown, ctx: TemplateContext): unknown;
