function matchPathsPostprocess(
  targetMatchSubclassesResult,
  targetExportsResult,
  targetFindCustomelementsResult,
  refFindCustomelementsResult,
  refFindExportsResult,
  refProjectName,
) {
  /** @type {AnalyzerQueryResult} */
  const resultsArray = [];

  for (const matchSubclassEntry of targetMatchSubclassesResult.queryOutput) {
    const fromClass = matchSubclassEntry.exportSpecifier.name;

    for (const projectMatch of matchSubclassEntry.matchesPerProject) {
      for (const { identifier: toClass, file: targetMatchedFile } of projectMatch.files) {
        const resultEntry = {
          name: fromClass,
        };

        // [A] Get variable paths
        const paths = getVariablePaths(
          targetExportsResult,
          refFindExportsResult,
          targetMatchedFile,
          fromClass,
          toClass,
          refProjectName,
        );

        if (paths?.length) {
          resultEntry.variable = {
            from: fromClass,
            to: toClass,
            paths,
          };
        }
        // [B] Get tag paths
        const { targetResult, refResult } = getTagPaths(
          targetFindCustomelementsResult,
          refFindCustomelementsResult,
          refFindExportsResult,
          targetMatchedFile,
          toClass,
          matchSubclassEntry,
        );

        if (refResult && targetResult) {
          resultEntry.tag = {
            from: refResult.tagName,
            to: targetResult.tagName,
            paths: [
              { from: refResult.file, to: targetResult.file },
              { from: `${refProjectName}/${refResult.file.slice(2)}`, to: targetResult.file },
            ],
          };
        }

        if (resultEntry.variable || resultEntry.tag) {
          resultsArray.push(resultEntry);
        }
      }
    }
  }

  return resultsArray;
}
@param {MatchSubclassesAnalyzerResult} targetMatchSubclassesResult
@param {FindExportsAnalyzerResult} targetExportsResult
@param {FindCustomelementsAnalyzerResult} targetFindCustomelementsResult
@param {FindCustomelementsAnalyzerResult} refFindCustomelementsResult
@param {FindExportsAnalyzerResult} refFindExportsResult
@returns {AnalyzerQueryResult}