<?php
declare(strict_types=1);
namespace PpPhp\Core;

interface ViewPlugin
{
    public static function id(): string;
    public static function label(): string;
    public static function render(mixed $value, array $settings): string;
    public static function settingsSchema(): array;
    public static function assets(): array;   // ['js' => [], 'css' => []]
}