// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

namespace Microsoft.Teams.AI;

/// <summary>
/// templates render contextual data
/// into a string
/// </summary>
[Obsolete("Microsoft.Teams.AI is deprecated and will be removed by end of summer 2026.")]
public interface ITemplate
{
    /// <summary>
    /// render the template
    /// </summary>
    /// <param name="data">the context data</param>
    /// <returns>the rendered string</returns>
    public Task<string> Render(object? data = null, CancellationToken cancellationToken = default);
}