overrideProps,
    overridePropsDeletePath,
    overridePropsRenamePath,
    setSuspenseHandler,
    scheduleUpdate,
  } = renderer;
  const supportsTogglingSuspense =
    typeof setSuspenseHandler === 'function' &&
    typeof scheduleUpdate === 'function';
  
  const fibersWithChangedErrorOrWarningCounts: Set<number> = new Set();
   Mapping of fiber IDs to error/warning messages and counts.
  const fiberToErrorsMap: Map<number, Map<string, number>> = new Map();
  const fiberToWarningsMap: Map<number, Map<string, number>> = new Map();
  function clearErrorsAndWarnings() {
    
    for (const id of fiberToErrorsMap.keys()) {
      fibersWithChangedErrorOrWarningCounts.add(id);
      updateMostRecentlyInspectedElementIfNecessary(id);
    }
    
    for (const id of fiberToWarningsMap.keys()) {
      fibersWithChangedErrorOrWarningCounts.add(id);
      updateMostRecentlyInspectedElementIfNecessary(id);
    }
    fiberToErrorsMap.clear();
    fiberToWarningsMap.clear();
    flushPendingEvents();
  }
  function clearErrorsForFiberID(id: number) {