<?php

namespace App\Repositories\Contracts;

use App\Models\HeroSlide;
use Illuminate\Database\Eloquent\Collection;
use Illuminate\Pagination\LengthAwarePaginator;

/**
 * @extends BaseRepositoryInterface<HeroSlide>
 */
interface HeroSlideRepositoryInterface extends BaseRepositoryInterface
{
    /**
     * @param  array<string, mixed>  $filters
     * @return LengthAwarePaginator<int, HeroSlide>
     */
    public function paginate(array $filters = [], int $perPage = 15): LengthAwarePaginator;

    /**
     * @return Collection<int, HeroSlide>
     */
    public function active(): Collection;
}
