<?php
namespace EasyChat\Library\Messenger\Marketplace;

interface MarketplaceProviderInterface {
     
    public function marketplaceCapabilities(): array;

     
    public function validateMarketplaceCredentials(array $credentials): array;

     
    public function syncMarketplaceStream(string $stream, array $credentials, array $cursor, int $limit = 50): array;

     
    public function performMarketplaceAction(string $action, array $credentials, array $context): array;

     
    public function startMarketplaceConversation(array $credentials, array $context): array;

     
    public function markMarketplaceThreadRead(array $credentials, array $context): array;
}
