15 files declare their use of MediaInterface

AddFormBase.php in core/modules/media_library/src/Form/AddFormBase.php
CKEditor5MediaController.php in core/modules/ckeditor5/src/Controller/CKEditor5MediaController.php
ContentImportTest.php in core/tests/Drupal/FunctionalTests/DefaultContent/ContentImportTest.php
EditorMediaDialog.php in core/modules/media/src/Form/EditorMediaDialog.php
File.php in core/modules/media/src/Plugin/media/Source/File.php
FileUploadForm.php in core/modules/media_library/src/Form/FileUploadForm.php
Image.php in core/modules/media/src/Plugin/media/Source/Image.php
Media.php in core/modules/media/src/Entity/Media.php
MediaCreationTest.php in core/modules/media/tests/src/Kernel/MediaCreationTest.php
MediaEmbed.php in core/modules/media/src/Plugin/Filter/MediaEmbed.php
MediaRevisionTest.php in core/modules/media/tests/src/Functional/MediaRevisionTest.php
MediaThumbnailFormatter.php in core/modules/media/src/Plugin/Field/FieldFormatter/MediaThumbnailFormatter.php
OEmbed.php in core/modules/media/src/Plugin/media/Source/OEmbed.php
Test.php in core/modules/media/tests/modules/media_test_source/src/Plugin/media/Source/Test.php
TestTranslation.php in core/modules/media/tests/modules/media_test_source/src/Plugin/media/Source/TestTranslation.php

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.