<?php

declare(strict_types=1);

namespace FiloBlu\Refilo\Model\Exporter;

use Magento\Framework\DataObject;
use Magento\Search\Model\QueryInterface;

/**
 *
 */
interface SearchTermAdapterInterface
{
    /**
     * @param \Magento\Search\Model\QueryInterface|\Magento\Search\Model\Query $query
     * @return \Magento\Framework\DataObject
     */
    public function adapt(QueryInterface $query): DataObject;
}