|string The patterns, or the reason they could not be read. */ public function listPatterns(): array|string; }