<?php

declare(strict_types=1);

namespace App\Framework\LiveComponents\FormBuilder;

/**
 * Interface für Step-spezifische Validierung
 */
interface StepValidator
{
    /**
     * Validate form data for this step
     *
     * @param array $formData Complete form data
     * @return array Validation errors (field => error message)
     */
    public function validate(array $formData): array;
}
