<?php

namespace WPML\Core\Component\PostHog\Domain\Event;

interface CaptureInterface {


  /**
   * @param string $apiKey
   * @param string $host
   * @param string $distinctId
   * @param string $sessionId
   * @param EventInterface $event
   * @param array<string,mixed> $personProperties
   *
   * @return bool
   */
  public function capture(
    string $apiKey,
    string $host,
    string $distinctId,
    string $sessionId,
    EventInterface $event,
    array $personProperties = []
  ): bool;


}
