import { getDashboardStatsCacheKey as e } from "./query-keys.js";
import { useApiClient as t } from "./useApi.js";
import { useQuery as n } from "@tanstack/react-query";
//#region src/hooks/useDashboard.ts
function r() {
	let { envKey: r, api: i } = t();
	return n({
		queryKey: e(r),
		queryFn: () => i.dashboard.getStats()
	});
}
//#endregion
export { r as useDashboardStats };
