@@ -4,15 +4,14 @@ import type {
4
4
ThunkDispatch ,
5
5
UnknownAction ,
6
6
} 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'
10
8
import type {
11
9
EndpointDefinitions ,
12
10
FullTagDescription ,
13
11
} from '../../endpointDefinitions'
14
12
import type { QueryStatus , QuerySubState , RootState } from '../apiState'
15
13
import type { QueryThunkArg } from '../buildThunks'
14
+ import { createAction , isAction } from '../rtkImports'
16
15
import { buildBatchedActionsHandler } from './batchActions'
17
16
import { buildCacheCollectionHandler } from './cacheCollection'
18
17
import { buildCacheLifecycleHandler } from './cacheLifecycle'
@@ -27,6 +26,19 @@ import type {
27
26
} from './types'
28
27
import { buildWindowEventHandler } from './windowEventHandling'
29
28
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
+
30
42
export function buildMiddleware <
31
43
Definitions extends EndpointDefinitions ,
32
44
ReducerPath extends string ,
0 commit comments