<?php declare(strict_types=1);
namespace Newland\Contracts\Neos\Search;

/**
 * Interface for indexer classes.
 */
interface IndexerInterface
{
    /** @var string[] $scopesToIndex */
    public function index(array $scopesToIndex, SearchBackend $backend, ProgressHandler $progressHandler): void;

    public function postIndex(SearchBackend  $backend): void;

    public function setConfiguration(array $configuration = []): void;
}
