<?php
/**
 * Script data provider interface for exposing data to frontend scripts.
 *
 * @package Awesomemotive\Rewardswp\Interfaces
 * @since 1.0.0
 */

namespace Awesomemotive\Rewardswp\Interfaces;

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/**
 * Provides sanitized script data for localization.
 */
interface ScriptDataProviderInterface {
	/**
	 * Retrieve the payload exposed to frontend scripts.
	 *
	 * @return array
	 */
	public function get_script_data(): array;
}
