@ApiStatus.Experimental
  @NotNull
  public static MarkdownTableSeparatorRow createTableSeparatorRow(@NotNull Project project, @NotNull String text) {
    final var columnsCount = StringUtil.countChars(text, '|') - 1;
    if (columnsCount < 1) {
      throw new IllegalArgumentException("Passed separator text should be valid and contain at least one column.\n Text passed: [" + text + "]");
    }
    String markdownFile = "|" + "    |".repeat(columnsCount) + '\n' + text;
    final var file = createFile(project, markdownFile);
    final var table = PsiTreeUtil.getParentOfType(file.findElementAt(0), MarkdownTable.class);
    if (table == null) {
      final var psi = DebugUtil.psiToString(file, true, true);
      throw new IllegalStateException("Failed to find table. PSI:\n" + psi);
    }
    final var separatorRowElement = PsiTreeUtil.getChildOfType(table, MarkdownTableSeparatorRow.class);
    if (separatorRowElement == null) {
      final var psi = DebugUtil.psiToString(file, true, true);
      throw new IllegalStateException("Failed to find separator row. PSI:\n" + psi);
    }
    return separatorRowElement;
  }
@ApiStatus.Experimental
  @NotNull
  public static MarkdownTableSeparatorRow createTableSeparatorRow(@NotNull Project project, @NotNull String text)