import { type StateCreator } from 'zustand'; export interface TimeSeriesDataSync { enabled: Record; } export interface TimeSeriesDataSyncState extends TimeSeriesDataSync { enable: (refreshRate: number) => void; disable: (refreshRate: number) => void; } export declare const createTimeSeriesDataSyncSlice: StateCreator; export declare const useTimeSeriesDataSyncStore: import("zustand").UseBoundStore, "setState"> & { setState(partial: TimeSeriesDataSyncState | Partial | ((state: TimeSeriesDataSyncState) => TimeSeriesDataSyncState | Partial), replace?: boolean | undefined, action?: A | undefined): void; }>; /** * Hook that will toggle a single enabled flag for * multiple usages of time series data hooks * with the same refresh rate. * * This enabled flag is passed to useQueries * so that those queries execute at the same time ensuring * that the refetch intervals are synced and * batching can be fully utilized across multiple hooks. */ export declare const useSyncTimeSeriesDataQueries: ({ enabled, refreshRate, }: { enabled: boolean; refreshRate: number; }) => boolean; //# sourceMappingURL=useTimeSeriesDataQuerySync.d.ts.map