<?php

declare(strict_types=1);

namespace CalendarPlugin\Contracts;

interface HttpAdapterInterface
{
    public function addAction(string $hook, callable $callback, int $priority = 10, int $acceptedArgs = 1): void;

    public function addShortcode(string $tag, callable $callback): void;

    public function registerRestRoute(string $namespace, string $route, array $args): void;
}
