$input * @return array Structured detection output for logging. */ public function detect(Context $context, array $input = []): array; }