@@ -4,15 +4,14 @@ import type {
44 ThunkDispatch ,
55 UnknownAction ,
66} from '@reduxjs/toolkit'
7- import { createAction , isAction } from '../rtkImports'
8-
9- import type { AnyNonNullishValue } from '@reduxjs/toolkit/dist/tsHelpers'
7+ import type { AnyNonNullishValue } from '../../../tsHelpers'
108import type {
119 EndpointDefinitions ,
1210 FullTagDescription ,
1311} from '../../endpointDefinitions'
1412import type { QueryStatus , QuerySubState , RootState } from '../apiState'
1513import type { QueryThunkArg } from '../buildThunks'
14+ import { createAction , isAction } from '../rtkImports'
1615import { buildBatchedActionsHandler } from './batchActions'
1716import { buildCacheCollectionHandler } from './cacheCollection'
1817import { buildCacheLifecycleHandler } from './cacheLifecycle'
@@ -27,6 +26,19 @@ import type {
2726} from './types'
2827import { buildWindowEventHandler } from './windowEventHandling'
2928
29+ export type { ReferenceCacheCollection } from './cacheCollection'
30+ export type {
31+ MutationCacheLifecycleApi ,
32+ QueryCacheLifecycleApi ,
33+ ReferenceCacheLifecycle ,
34+ } from './cacheLifecycle'
35+ export type {
36+ MutationLifecycleApi ,
37+ QueryLifecycleApi ,
38+ ReferenceQueryLifecycle ,
39+ } from './queryLifecycle'
40+ export type { SubscriptionSelectors } from './types'
41+
3042export function buildMiddleware <
3143 Definitions extends EndpointDefinitions ,
3244 ReducerPath extends string ,
0 commit comments