type ExtendedUseQueryReturn =
  | {
      isAllowed: false;
      noPermissionMessage: string;
    }