File size: 566 Bytes
96c8713
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//#region src/environmentManager.d.ts
type IsServerValue = () => boolean;
/**
 * Returns whether the current runtime should be treated as a server environment.
 */
declare const isServer: () => boolean;
/**
 * Manages environment detection used by TanStack Query internals.
 */
declare const environmentManager: {
  isServer: () => boolean;
  /**
   * Overrides the server check globally.
   */
  setIsServer(isServerValue: IsServerValue): void;
};
//#endregion
export { IsServerValue, environmentManager, isServer };
//# sourceMappingURL=environmentManager.d.ts.map