import { useLicense } from "./useLicense"; /** * Returns true if the active license edition is "premium". * Ergonomic helper only — the server enforces entitlements independently (cf. ADR 0011 §UX). */ export function useIsPremium(): boolean { const { state } = useLicense(); return state.edition === "premium"; }