<?php

declare(strict_types=1);

namespace Kylin\RiskEngine\Facades;

use Illuminate\Support\Facades\Facade;
use Kylin\RiskEngine\Services\RiskEngineService;

/**
 * @method static array evaluate(int $userId, int $tenantId, array $signals, array $context = [])
 * @method static ?int getCachedScore(int $userId)
 * @method static ?\Kylin\RiskEngine\Enums\RiskDecision getCachedDecision(int $userId)
 */
final class KylinRiskEngine extends Facade
{
    protected static function getFacadeAccessor(): string
    {
        return RiskEngineService::class;
    }
}
