<?php

namespace App\Services;

interface OtpMailerInterface
{
    /**
     * Deliver the OTP. Must not write the OTP to application logs.
     *
     * @throws \RuntimeException on transport failure
     */
    public function send(string $toEmail, string $otp): void;

    public function isConfigured(): bool;
}
