import { resolveOutputFormat } from "../internal/output-format.js";
export function shouldUseInteractiveDashboard(enabled, io = process) {
    return enabled === true
        && resolveOutputFormat() === "terminal"
        && Boolean(io.stdin.isTTY)
        && Boolean(io.stdout.isTTY);
}
