. */ namespace SP\Domain\Account\Ports; use SP\Domain\Account\Dtos\AccountSearchFilterDto; use SP\Domain\Core\Exceptions\ConstraintException; use SP\Domain\Core\Exceptions\QueryException; use SP\Domain\Core\Exceptions\SPException; use SP\Infrastructure\Database\QueryResult; /** * Class AccountSearchService para la gestión de búsquedas de cuentas */ interface AccountSearchService { /** * Procesar los resultados de la búsqueda y crear la variable que contiene los datos de cada cuenta * a mostrar. * * @throws ConstraintException * @throws QueryException * @throws SPException */ public function getByFilter(AccountSearchFilterDto $accountSearchFilter): QueryResult; }