## 🎯 Changes

<!-- What changes are made in this PR? Describe the change and its motivation. -->
Fixes: https://github.com/TanStack/query/issues/7892

## ✅ Checklist

- [ ] I have followed the steps in the [Contributing guide](https://github.com/TanStack/query/blob/main/CONTRIBUTING.md).
- [ ] I have tested this code locally with `pnpm run test:pr`.

## 🚀 Release Impact

- [ ] This change affects published code, and I have generated a [changeset](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md).
- [ ] This change is docs/CI/dev-only (no release).


<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit

* **Bug Fixes**
  * Fixed queryOptions typing to accept plain properties and/or getter factories.

* **New Features**
  * Exposed new QueryOptions types (including variants for required/optional initial data).
  * QueryClient methods and fetchQuery now accept reactive values or zero-arg factory functions.
  * Improved TypeScript inference for queryOptions and useQueries.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->