using System.Runtime.CompilerServices; namespace StreamShorts.Library.Transcription; /// /// Represents a transcriber interface for audio transcription. /// public interface ITranscriber { /// /// Transcribes the audio stream into text segments. /// /// The audio stream to transcribe. /// A cancellation token to cancel the operation. /// An where T is . IAsyncEnumerable TranscribeAsync(Stream audio, CancellationToken cancellationToken = default); }