@Nonnull
	static String export(@Nonnull Mappings mappings, @Nonnull Function<StringWriter, MappingVisitor> writerFactory) throws InvalidMappingException {
		return export(mappings, "in", List.of("out"), writerFactory);
	}
A utility for utilizing mapping-io to write mapping text formats.

@param mappings
		Mappings to export to text.
@param writerFactory
		Factory to create a mapping-io format writer.

@return Text representation of mappings in the format provided by the writer factory.

@throws InvalidMappingException
		When writing the mappings encounters any failure.
recaf-core/src/main/java/software/coley/recaf/services/mapping/format/MappingFileFormat.java