<?php

declare(strict_types=1);

namespace CpCreation\VitiCore\PageBuilder\Builder;

interface BuilderSchemaProviderInterface
{
    /**
     * @return array<string, mixed>|null
     */
    public function pageConfig(string $pageCode): ?array;

    /**
     * @return array<string, mixed>|null
     */
    public function schemaForComponent(string $component): ?array;
}
