namespace AIStudio.Tools.Media;
///
/// Where the persistent transcript of an audio or video file lives, cf. PersistentMediaTranscript.
///
///
/// A location only names the place. Reading and writing the transcript is left to
/// PersistentMediaTranscript, so every location keeps the same rules against paying twice.
///
internal interface IMediaTranscriptLocation
{
///
/// Finds the place of the transcript of a media file.
///
/// The audio or video file.
/// The cancellation token.
/// The place of the transcript, whether or not a transcript is there yet.
Task ResolveAsync(string mediaPath, CancellationToken token);
}