import type { EngineStatus, QpuLatest } from "@new-api-key-usage/core"; import { adminHttp } from "../http.ts"; export async function fetchEngine(): Promise { const { data } = await adminHttp.get("/engine"); return data; } export async function fetchQpuLatest(): Promise { const { data } = await adminHttp.get("/qpu/latest"); return data; }