<?php
// phpcs:disable Wptopr.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure.
namespace Wptopr\WP\SEO\Schema_Aggregator\Domain\Enhancement;

use Wptopr\WP\SEO\Models\Indexable;
use Wptopr\WP\SEO\Schema_Aggregator\Domain\Schema_Piece;

interface Schema_Enhancement_Interface {

	/**
	 * Enhances the given schema piece.
	 *
	 * @param Schema_Piece $schema_piece The schema piece to enhance.
	 * @param Indexable    $indexable    The indexable object that is the source of the schema piece.
	 *
	 * @return Schema_Piece The enhanced schema piece.
	 */
	public function enhance( Schema_Piece $schema_piece, Indexable $indexable ): Schema_Piece;
}
