namespace RolemasterDb.ImportTool.Parsing;

public sealed class CriticalTableParseResult(
    ParsedCriticalTable table,
    IReadOnlyList<ParsedPdfPageGeometry> pageGeometries,
    IReadOnlyList<PositionedTextFragment> fragments,
    SourceRenderProfile renderProfile,
    IReadOnlyList<ParsedCriticalCellArtifact> cells,
    ImportValidationReport validationReport)
{
    public ParsedCriticalTable Table { get; } = table;
    public IReadOnlyList<ParsedPdfPageGeometry> PageGeometries { get; } = pageGeometries;
    public IReadOnlyList<PositionedTextFragment> Fragments { get; } = fragments;
    public SourceRenderProfile RenderProfile { get; } = renderProfile;
    public IReadOnlyList<ParsedCriticalCellArtifact> Cells { get; } = cells;
    public ImportValidationReport ValidationReport { get; } = validationReport;
}
