|numeric|string|File> $input The task input * @param callable(float):bool $reportProgress Report the task progress. If this returns false, that means the task was cancelled and processing should be stopped. * @psalm-return array|numeric|string|FileShaped> * @throws ProcessingException * @since 30.0.0 * @since 35.0.0 You can now also return a FileShaped object or a list of FileShaped objects */ public function process(?string $userId, array $input, callable $reportProgress): array; }