mirror of
https://github.com/jayfunc/BetterLyrics.git
synced 2026-01-12 19:08:33 +08:00
13 lines
343 B
C#
13 lines
343 B
C#
using BetterLyrics.WinUI3.Models;
|
|
using System.Collections.Generic;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace BetterLyrics.WinUI3.Services.TranslationService
|
|
{
|
|
public interface ITranslationService
|
|
{
|
|
Task<string> TranslateTextAsync(string text, string targetLangCode, CancellationToken token);
|
|
}
|
|
}
|