import { LRUCache } from "lru-cache";
import { CacheOptions } from "./fd-cache-options";
declare global {
    var _memoryCache: LRUCache<string, string | object> | undefined;
}
/** @monorepo-internal */
export declare function setMemoryCache<T>(key: string, value: T, fdCacheOptions?: CacheOptions): void;
/** @monorepo-internal */
export declare function tryGetFromMemoryCache<T>(key: string): T;
/** @monorepo-internal */
export declare function removeFromMemoryCache(key: string): void;
/** @monorepo-internal */
export declare function memoryCacheHasKey(key: string): boolean;
/** @monorepo-internal */
export declare function clearPermissionMemoryCache(targetPartials: string[]): void;
export declare function formatCacheValue(value: unknown): string;
export declare function parseCacheValue<T>(value?: string | object): T | undefined;
