<?php

/**
 * JCOGS Image Pro - CpLicenseNoticeRendererInterface
 * ==================================================
 * Interface contract for rendering CP license notices.
 *
 * @category   ExpressionEngine Add-on
 * @package    JCOGS Image Pro
 * @author     JCOGS Design <contact@jcogs.net>
 * @copyright  Copyright (c) 2021 - 2026 JCOGS Design
 * @license    https://jcogs.net/add-ons/license/jcogs_img_pro
 * @version    2.0.6
 * @link       https://jcogs.net/
 * @since      2.0.0
 */

namespace JCOGSDesign\JCOGSImagePro\Service\License;

interface CpLicenseNoticeRendererInterface
{
    /**
     * Returns structured notice data or null if no notice should be shown.
     * Keys: 'title' (string), 'body' (string, HTML), 'severity' ('info'|'warning'|'error').
     */
    public function renderInlineNotice(array $policyDecision): ?array;

    public function shouldSuppressGenericBanner(array $policyDecision): bool;
}
