import { Q as QueryKey } from './create-query-B9ILJCq6.cjs'; export { C as CacheApiAdaptor, c as createQuery } from './create-query-B9ILJCq6.cjs'; /** * Best-effort deduplication manager for query execution. * * Uses a short-lived "processing" marker in Cache API to signal * that a query is already being fetched. This is not atomic * (CF Cache API has no CAS operations) but dramatically reduces * redundant work in practice. */ declare class DedupeManager { private cache; constructor(cacheName?: string); /** * Check if someone is already processing this key. * Best-effort: small race window exists between check and mark. */ isProcessing(key: QueryKey): Promise; markProcessing(key: QueryKey): Promise; clearProcessing(key: QueryKey): Promise; private buildMarkerKey; } declare const invalidateQuery: ({ queryKey, cacheName, }: { queryKey: QueryKey; cacheName?: string; }) => Promise; export { DedupeManager, invalidateQuery };