* * @since 31.0.0 */ public function getSupportedMimeTypes(): array; /** * Convert a file to a given MIME type * * @param File $file The file to be converted * @param string $targetMimeType The MIME type to convert the file to * * @return resource|string Resource or string content of the file * * @since 31.0.0 */ public function convertFile(File $file, string $targetMimeType): mixed; }