<?php
declare(strict_types=1);

namespace Instinctor\Core\Admin;

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

/**
 * AdminRouter -- WordPress.org-distributed build.
 *
 * Stub: the real AdminRouter is the standalone admin front controller (routes
 * /admin, /admin/login, admin-ajax, the self-updater panel) and runs ONLY under
 * INSTINCTOR_ENV='standalone'. On WordPress ::init() is a no-op (WP renders the
 * admin inside wp-admin), so this build ships an inert stub: no routing, no HTML
 * document, no self-updater references. Plugin.php calls only ::init().
 */
class AdminRouter
{
    public static function init(): void { /* no-op on WordPress */ }
    public static function isAuthenticated(): bool { return false; }
    public static function dispatch(): void { /* no-op on WordPress */ }
}
