<?php

declare(strict_types=1);

namespace App\Services\Sitemaps;

use DateTimeInterface;

interface SitemapBuilder
{
    public function name(): string;

    /**
     * @return list<SitemapUrl>
     */
    public function items(): array;

    public function lastModified(): ?DateTimeInterface;
}