1 | import { QueryClient } from 'react-query';
|
2 | export declare const queryClientAtom: import("jotai").Atom<QueryClient> & {
|
3 | write: (get: {
|
4 | <Value>(atom: import("jotai").Atom<Value | Promise<Value>>): Value;
|
5 | <Value_1>(atom: import("jotai").Atom<Promise<Value_1>>): Value_1;
|
6 | <Value_2>(atom: import("jotai").Atom<Value_2>): Value_2 extends Promise<infer V> ? V : Value_2;
|
7 | } & {
|
8 | <Value_3>(atom: import("jotai").Atom<Value_3 | Promise<Value_3>>, options: {
|
9 | unstable_promise: true;
|
10 | }): Value_3 | Promise<Value_3>;
|
11 | <Value_4>(atom: import("jotai").Atom<Promise<Value_4>>, options: {
|
12 | unstable_promise: true;
|
13 | }): Value_4 | Promise<Value_4>;
|
14 | <Value_5>(atom: import("jotai").Atom<Value_5>, options: {
|
15 | unstable_promise: true;
|
16 | }): (Value_5 extends Promise<infer V> ? V : Value_5) | Promise<Value_5 extends Promise<infer V> ? V : Value_5>;
|
17 | }, set: {
|
18 | <Value_6, Result extends void | Promise<void>>(atom: import("jotai").WritableAtom<Value_6, undefined, Result>): Result;
|
19 | <Value_7, Update, Result_1 extends void | Promise<void>>(atom: import("jotai").WritableAtom<Value_7, Update, Result_1>, update: Update): Result_1;
|
20 | }, update: QueryClient | ((prev: QueryClient) => QueryClient)) => void;
|
21 | onMount?: <S extends (update: QueryClient | ((prev: QueryClient) => QueryClient)) => void>(setAtom: S) => void | (() => void);
|
22 | } & {
|
23 | init: QueryClient;
|
24 | };
|
25 |
|
\ | No newline at end of file |