namespace AIStudio.Tools.CodeHighlighting;
///
/// What hints at a language in a code block which names none, see CodeLanguageDetector.
///
/// The language as a model would write it behind the fence, for example csharp.
/// What hints at the language.
/// A language which extends this one, as TypeScript extends JavaScript, or null.
/// What hints at the extended language. They count for this language,
/// too, and when they reach a weight of 2, the code is in the extended one.
public sealed record CodeLanguageProfile(string FenceLanguage, IReadOnlyList Markers, string? Refinement = null, IReadOnlyList? RefinementMarkers = null);