using RolemasterDb.ImportTool.Parsing;

namespace RolemasterDb.ImportTool;

public sealed class ExtractedCriticalSource(
    string extractionMethod,
    string importNotes,
    SourceRenderProfile renderProfile,
    IReadOnlyList<ParsedPdfPageGeometry> pageGeometries,
    IReadOnlyList<PositionedTextFragment> fragments)
{
    public string ExtractionMethod { get; } = extractionMethod;
    public string ImportNotes { get; } = importNotes;
    public SourceRenderProfile RenderProfile { get; } = renderProfile;
    public IReadOnlyList<ParsedPdfPageGeometry> PageGeometries { get; } = pageGeometries;
    public IReadOnlyList<PositionedTextFragment> Fragments { get; } = fragments;
}
