export declare function getChatCacheScope(): string | null;
export declare function getChatCacheOwner(): string | null;
/**
 * Ensures a cache scope exists for the given owner.  Reuses the current scope
 * when the owner has not changed; rotates it otherwise.
 */
export declare function ensureChatCacheScope(ownerId: string): string;
/**
 * Clears the in-memory mirrors so the next read re-fetches from localStorage.
 * Only needed in tests where localStorage is cleared between runs without
 * reloading the module.
 */
export declare function resetCacheScopeForTesting(): void;
