import { a as Cache, P as ProviderConfiguration, b as ScopedMutator, U as Unloader, G as GlobalState, c as State, d as FullConfiguration, A as Arguments, M as MutatorCallback, e as MutatorOptions, K as Key, f as Fetcher, g as SWRConfiguration, h as SWRHook, i as Middleware } from '../types-m1fld6v2.js'; export { B as BareFetcher, j as BlockingData, k as Broadcaster, C as CacheData, F as FetcherResponse, I as InternalConfiguration, l as IsLoadingResponse, m as KeyLoader, n as KeyedMutator, o as Mutator, p as MutatorConfig, q as MutatorFn, r as MutatorWrapper, s as PublicConfiguration, R as RevalidateCallback, t as RevalidateEvent, u as Revalidator, v as RevalidatorOptions, S as SWRConfig, w as SWRConfigValue, x as SWRResponse, y as StateDependencies, z as StrictTupleKey, D as UnloadOptions, E as cache, H as compare, J as defaultConfig, L as mutate, N as preload, O as unload, Q as useSWRConfig } from '../types-m1fld6v2.js'; export { e as revalidateEvents } from '../events-ny18dyc2.js'; export { INFINITE_PREFIX } from './constants.js'; import react from 'react'; export { s as serialize } from '../serialize-f94ud86v.js'; declare const initCache: (provider: Cache, options?: Partial) => [Cache, ScopedMutator, () => void, () => void, Unloader] | [Cache, ScopedMutator, undefined, undefined, Unloader] | undefined; declare const IS_REACT_LEGACY = false; declare const IS_SERVER: boolean; declare const rAF: (f: (...args: any[]) => void) => number | ReturnType; declare const useIsomorphicLayoutEffect: typeof react.useEffect; declare const slowConnection: boolean | undefined; declare const SWRGlobalState: WeakMap, GlobalState>; declare const stableHash: (arg: any) => string; declare const isWindowDefined: boolean; declare const isDocumentDefined: boolean; declare const isLegacyDeno: boolean; declare const hasRequestAnimationFrame: () => boolean; declare const createCacheHelper: >(cache: Cache, key: string | undefined) => readonly [() => T, (info: T) => void, (key: string, callback: (current: any, prev: any) => void) => () => void, () => any]; declare const noop: () => void; declare const UNDEFINED: undefined; declare const OBJECT: ObjectConstructor; declare const isUndefined: (v: any) => v is undefined; declare const isFunction: any = (...args: any[]) => any>(v: unknown) => v is T; declare const mergeObjects: (a: any, b?: any) => any; declare const isPromiseLike: (x: unknown) => x is PromiseLike; declare const mergeConfigs: (a: Partial, b?: Partial) => Partial; type KeyFilter = (key?: Arguments) => boolean; declare function internalMutate(cache: Cache, _key: KeyFilter, _data?: Data | Promise | MutatorCallback, _opts?: boolean | MutatorOptions): Promise>; declare function internalMutate(cache: Cache, _key: Arguments, _data?: Data | Promise | MutatorCallback, _opts?: boolean | MutatorOptions): Promise; declare const normalize: (args: [KeyType] | [KeyType, Fetcher | null] | [KeyType, SWRConfiguration | undefined] | [KeyType, Fetcher | null, SWRConfiguration | undefined]) => [KeyType, Fetcher | null, Partial>]; declare const withArgs: (hook: any) => SWRType; type Callback = (...args: any[]) => any; declare const subscribeCallback: (key: string, callbacks: Record, callback: Callback) => () => void; declare const getTimestamp: () => number; declare const preset: { readonly isOnline: () => boolean; readonly isVisible: () => boolean; }; declare const defaultConfigOptions: ProviderConfiguration; declare const withMiddleware: (useSWR: SWRHook, middleware: Middleware) => SWRHook; export { Arguments, Cache, Fetcher, FullConfiguration, GlobalState, IS_REACT_LEGACY, IS_SERVER, Key, Middleware, MutatorCallback, MutatorOptions, OBJECT, ProviderConfiguration, SWRConfiguration, SWRGlobalState, SWRHook, ScopedMutator, State, UNDEFINED, Unloader, createCacheHelper, defaultConfigOptions, getTimestamp, hasRequestAnimationFrame, initCache, internalMutate, isDocumentDefined, isFunction, isLegacyDeno, isPromiseLike, isUndefined, isWindowDefined, mergeConfigs, mergeObjects, noop, normalize, preset, rAF, slowConnection, stableHash, subscribeCallback, useIsomorphicLayoutEffect, withArgs, withMiddleware };