export function createAuraRouteHealth(app) {
    const diagnostics = app.diagnostics();
    return {
        status: diagnostics.errors.length === 0 ? "ready" : "error",
        drawCalls: diagnostics.drawCalls,
        diagnostics,
        scene: app.scene
    };
}
export function assertAuraRouteReady(health) {
    if (health.status !== "ready")
        throw new Error(`Aura3D route is not ready: ${health.diagnostics.errors.join("; ")}`);
    if (health.drawCalls <= 0)
        throw new Error("Aura3D route did not draw any frames.");
}
//# sourceMappingURL=routeHealth.js.map