<?php

declare(strict_types=1);

namespace MintyPHP\Console\Runner\Doctor;

interface DoctorRunnerInterface
{
    /**
     * @return array{
     *   command: string,
     *   status: string,
     *   checks: list<array{status: string, name: string, message: string}>,
     *   ok_count: int,
     *   warn_count: int,
     *   fail_count: int,
     *   exit_code: int,
     *   duration_ms: int
     * }
     */
    public function run(): array;
}
