<?php

/**
 * JCOGS Image Pro - CpLicenseGuardInterface
 * =========================================
 * Interface contract for CP license mutation guards.
 *
 * @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 CpLicenseGuardInterface
{
    public function preflightRoute(string $routePath, bool $isPost): array;

    public function assertCanMutate(string $actionLabel): void;
}
