import type { HttpRequest } from './request';
export type RequestStoreKey<T = unknown> = string | symbol | object;
export declare function getCachedValue<T>(request: HttpRequest, key: RequestStoreKey<T>): T | undefined;
export declare function setCachedValue<T>(request: HttpRequest, key: RequestStoreKey<T>, value: T): T;
export declare function hasCachedValue(request: HttpRequest, key: RequestStoreKey): boolean;
export declare function clearCachedValue(request: HttpRequest, key: RequestStoreKey): void;
export declare function getOrCacheValue<T>(request: HttpRequest, key: RequestStoreKey<T>, factory: () => T | Promise<T>): Promise<T>;
//# sourceMappingURL=store.d.ts.map