<?php

declare(strict_types=1);

namespace apexl\Io\modules\notifier\interfaces;

use apexl\Io\modules\notifier\exceptions\notifierException;

interface emailNotifierDriverInterface extends notifierDriverInterface
{
    /**
     * @param array<array{path: string, name?: string}> $attachments
     * @param array<array{path: string, cid: string, name?: string}> $embeddedImages
     *
     * @throws notifierException
     */
    public function send(string $to, string $subject, string $body, array $attachments = [], array $embeddedImages = []): void;
    public function isHtml(bool $isHtml = true): void;
}
