export interface RequestCacheContext {
    target: string | null;
    primary: {
        key: string;
        expired: boolean;
        data: unknown;
    } | null;
    servedStale: boolean;
    url: string | null;
    revalidating: boolean;
}
export declare function runInRequestContext<T>(target: string | null, fn: () => T, url?: string | null): T;
export declare function requestCacheContext(): RequestCacheContext | undefined;
