import { Client, OperationContext, OperationResult, RequestPolicy, TypedDocumentNode } from '@urql/core'; import { Getter, WritableAtom } from 'jotai'; declare type AtomWithQueryAction = { type: 'reexecute'; opts?: Partial; }; declare type OperationResultWithData = OperationResult & { data: Data; }; declare type QueryArgs = { query: TypedDocumentNode | string; variables?: Variables; requestPolicy?: RequestPolicy; context?: Partial; }; declare type QueryArgsWithPause = QueryArgs & { pause: boolean; }; export declare function atomWithQuery(createQueryArgs: (get: Getter) => QueryArgs, getClient?: (get: Getter) => Client): WritableAtom, AtomWithQueryAction>; export declare function atomWithQuery(createQueryArgs: (get: Getter) => QueryArgsWithPause, getClient?: (get: Getter) => Client): WritableAtom | null, AtomWithQueryAction>; export {};