<?php
declare(strict_types=1);

namespace Ekesto\CacheInvalidator\Core\Relationships;

use Ekesto\CacheInvalidator\Core\Contracts\RelationshipProviderInterface;

/**
 * Lite-safe default relationship provider.
 *
 * Performs no relationship propagation: a Lite build has no relationship engine,
 * so every propagation query resolves to nothing. Configured/watched post-type
 * reads and cycle validation are handled by Lite-safe helpers, not this provider.
 */
final class NullRelationshipProvider implements RelationshipProviderInterface
{
    /**
     * @return string[]
     */
    public function resolveAffectedHosts(string $triggerPostType): array
    {
        return [];
    }

    /**
     * @return array<int,array{0:string,1:string}>
     */
    public function resolveRelationshipEdges(string $triggerPostType): array
    {
        return [];
    }

    /**
     * @return int[]
     */
    public function findHostPostIds(string $hostPostType, string $relatedPostType, int $relatedId): array
    {
        return [];
    }
}
