<?php

namespace NewsletterBridge\Interfaces;

/**
 * Interfaccia per NewsletterOrchestrator
 * Dependency Inversion Principle
 */
interface NewsletterOrchestratorInterface {
    public function generateXML(\stdClass $config, bool $generateFiles = true, string $subject = '', string $summary = ''): array;
    public function sendNewsletter(\stdClass $config, bool $dryrun = false): bool;
}
