Function: getWarningSummary()
function getWarningSummary(): WarningSummary;Return a grouped summary of currently collected warnings.
This reads the active warning logger state. The public conversion APIs flush warnings at the end of a conversion so summaries can be printed; after that flush, this returns an empty summary until new warnings are recorded. It is mainly useful for lower-level renderer workflows, tests, and integrations that manage the warning cycle directly.