import { QueryClient, QueryKey, QueryObserver, QueryObserverOptions, QueryObserverResult, MutationObserver, MutationObserverOptions, MutationObserverResult } from '@tanstack/query-core'; export declare class QueryService { private queryClient; constructor(queryClient?: QueryClient); subscribeQuery({ options, listener, }: { options: QueryObserverOptions; listener: (result: QueryObserverResult) => void; }): { result: QueryObserverResult; unsubscribe: () => void; queryObserver: QueryObserver; }; subscribeMutation({ options, listener, }: { options: MutationObserverOptions; listener: (result: MutationObserverResult) => void; }): { result: MutationObserverResult; unsubscribe: () => void; mutationObserver: MutationObserver; }; } //# sourceMappingURL=query.service.d.ts.map