import { QueryClient, QueryObserver } from '@tanstack/query-core'; import type { DatasetServiceParams, ImplementService, ImplementServiceOptions } from '../types'; /** * 实现一个服务资产: * LI 资产研发教程 🔗 https://www.yuque.com/antv/l7vp/zqvk302x61qq2kcq */ export declare function implementService = Record>(options: ImplementServiceOptions): ImplementService; export declare const queryServiceClient: QueryClient; export { QueryClient, QueryObserver }; type Listener = () => void; export declare class Subscribable { protected listeners: Set; constructor(); subscribe(listener: TListener): () => void; hasListeners(): boolean; protected onSubscribe(): void; protected onUnsubscribe(): void; }