<?php
// app/services/metadata/MetadataProvider.php

declare(strict_types=1);

namespace ScMedia\Services\Metadata;

interface MetadataProvider {
  public function id(): string;
  public function label(): string;
  public function search(string $query, string $type, ?int $year, string $lang, array $config): array;
  public function buildUrl(string $externalId): string;
  public function supportsType(string $type): bool;
}
