<?php
/**
 * Amazon discount priority-brand settings contract.
 *
 * @package Affilun\Application\AmazonDiscount
 */

declare(strict_types=1);

namespace Affilun\Application\AmazonDiscount;

/**
 * Persists the brands fetched by scheduled and manual discount sync.
 */
interface AmazonDiscountBrandSettingsRepository {

	/**
	 * Return configured brands in display order.
	 *
	 * @return list<string>
	 */
	public function load(): array;

	/**
	 * Save configured brands in display order.
	 *
	 * @param list<mixed> $brands Raw brand values.
	 */
	public function save( array $brands ): void;
}
