def METHOD_NAME(self, file_import: "FileImport") -> None:
    """Merge the given file import format."""
    for typing_section, import_type_dict in file_import.imports.items():
        for import_type, package_list in import_type_dict.items():
            for package_name, module_list in package_list.items():
                for module_name in module_list:
                    self._add_import(
                        package_name, import_type, module_name, typing_section
                    )