* * @since 31.0.0 */ public function getProviders(): 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 * @param ?string $destination The destination to save the converted file * * @return string Path to the converted file * * @since 31.0.0 */ public function convert(File $file, string $targetMimeType, ?string $destination = null): string; }