import { GraphQLDevToolsClient, GraphQLDevToolEventMap } from '../../shared/events'; import { GraphQLOperation, CacheEntry, GraphQLSchema } from '../../shared/types'; export interface GraphQLDevToolsState { isRecording: boolean; selectedOperationId: string | null; operations: Map; cacheEntries: Map; schema: GraphQLSchema | null; selectedTab: 'operations' | 'cache' | 'explorer'; autoSync: { enabled: boolean; durationMinutes: number | null; endTime: number | null; intervalId: ReturnType | null; }; _unsubscribeFunctions?: Array<{ remove: () => void; }>; _client?: GraphQLDevToolsClient; actions: { setRecording: (isRecording: boolean) => void; setSelectedOperation: (operationId: string | null) => void; clearOperations: () => void; setSelectedTab: (tab: 'operations' | 'cache' | 'explorer') => void; requestCacheSnapshot: () => void; requestSchema: () => void; startAutoSync: (durationMinutes: number) => void; stopAutoSync: () => void; }; handleEvent: (eventType: K, data: GraphQLDevToolEventMap[K]) => void; client: { setupClient: (client: GraphQLDevToolsClient) => void; cleanupClient: () => void; }; } export declare const createGraphQLDevToolsStore: () => import('zustand').StoreApi; export declare const store: import('zustand').StoreApi;