import { Observable } from 'rxjs';
import { LifecycleAdvanceResult, Marketplace, MarketplaceDomain } from '../models/marketplace.model';

/** Per docs/backend/PHASE-9-TENANT-REGISTRY-DOMAINS-CONTRACT.md §2-4. */
export interface MarketplaceGateway {
  loadMarketplaces(): Observable<Marketplace[]>;
  loadDomains(marketplaceId: string): Observable<MarketplaceDomain[]>;
  loadLifecycle(marketplaceId: string): Observable<LifecycleAdvanceResult>;
}
