<?php  namespace App\Models;  use App\Enums\FilterType; use App\Traits\HasTranslations; use Illuminate\Validation\Rule; use App\Observers\FilterObserver; use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\BelongsToMany; use App\Contracts\HasTranslations as ContractsHasTranslations;  class Filter extends Model implements ContractsHasTranslations { 	use HasTranslations;  	public array $translatable = ['name', 'display_label', 'dropdown_values'];  	protected $casts = [ 		'name' => 'array', 		'display_label' => 'array', 		'dropdown_values' => 'array', 		'active' => 'boolean', 		'required' => 'boolean', 	];  	protected static function initObservers(): string 	{ 		return FilterObserver::class; 	}  	public function scopeAvailable(Builder $query): Builder{}  	public function productFilters(): HasMany{}  	public function categoryFilters(): HasMany{}  	public function categories(): BelongsToMany{}  	public function getAvailableOperands(): array{}  	public function getValidationRules(?string $lang = null): array{}  	public function getFilterValue(?string $lang = null): string|array|null{} }