import { Cache, CacheLoadOptions, CacheMap, Record, SubscriptionData } from "../types.js"; export type InternalCache, Value> = Cache & { __createPendingMutationRecordMap: () => CacheMap>; __getKey: (params: Params) => string; __getOrCreateRecord: (...params: Params) => Record; __isImmutable: () => boolean; __mutationAbortControllerMap: Map; __notifySubscribers: (params: Params, data?: SubscriptionData) => void; __recordMap: CacheMap>; }; export type CreateCacheOptions, Value> = { config?: { getCache?: (onEviction: (key: string) => void) => CacheMap>; immutable?: boolean; }; debugLabel?: string; debugLogging?: boolean; getKey?: (params: Params) => string; load: (params: Params, loadOptions: CacheLoadOptions) => PromiseLike | Value; }; export declare function createCache, Value>(options: CreateCacheOptions): Cache;