<?php
namespace Bookaro\Contracts;

defined( 'ABSPATH' ) || exit;

/**
 * Abstraction for reports data provider (Pro).
 */
interface ReportsProviderInterface
{
    public function is_available(): bool;

    /**
     * @return array|\WP_Error
     */
    public function get_frontend_data( int $provider_id ): array;
}
