<?php

declare(strict_types=1);

namespace MonsieurBiz\SyliusSearchPlugin\Searcher;

use MonsieurBiz\SyliusSearchPlugin\Model\Config\GridConfigInterface;
use MonsieurBiz\SyliusSearchPlugin\Model\Document\ResultSetInterface;

interface SearcherInterface
{
    public function search(GridConfigInterface $gridConfig): ResultSetInterface;

    public function supports(GridConfigInterface $gridConfig): bool;
}
