<?php

declare(strict_types=1);

namespace CliqThemes\StoreLocator\Integrations;

defined('ABSPATH') || exit;

/**
 * A third-party plugin integration (SEO plugins, etc.). Each implementation
 * detects its target plugin and, when present, wires our store-detail data into
 * that plugin's hooks. Registered through {@see IntegrationManager}.
 */
interface Integration
{
    /** Whether the target plugin is active (so we should register our hooks). */
    public function isActive(): bool;

    /** Hook into the target plugin. Only called when isActive() is true. */
    public function register(): void;
}
