<?php

if (!defined('ABSPATH')) { exit; }

interface AIEO_Catalog_Source {

    
    public function slug();

    
    public function label();

    
    public function credential_fields();

    
    public function validate_credentials(array $creds);

    
    public function fetch_categories(array $creds);

    
    public function fetch_page(array $creds, $page, $page_size);

    
    public function map_product(array $raw, array $ctx);
}
