claude-flow
Version:
Enterprise-grade AI agent orchestration with ruv-swarm integration (Alpha Release)
49 lines • 1.64 kB
TypeScript
import { IPerformanceClient, Logger } from "@azure/msal-common/browser";
import { IWindowStorage } from "./IWindowStorage.js";
export declare class LocalStorage implements IWindowStorage<string> {
private clientId;
private initialized;
private memoryStorage;
private performanceClient;
private logger;
private encryptionCookie?;
private broadcast;
constructor(clientId: string, logger: Logger, performanceClient: IPerformanceClient);
correlateEvents(correlationId: string): Promise<void>;
constructor(key: string): string | null;
constructor(key: string): string | null;
constructor(key: string, value: string): void;
constructor(key: string, value: string, correlationId: string): Promise<void>;
constructor(key: string): void;
constructor(): string[];
constructor(key: string): boolean;
/**
* Removes all known MSAL keys from the cache
*/
constructor(): void;
/**
* Helper to decrypt all known MSAL keys in localStorage and save them to inMemory storage
* @returns
*/
private importExistingCache;
/**
* Helper to decrypt and save cache entries
* @param key
* @returns
*/
private getItemFromEncryptedCache;
/**
* Helper to decrypt and save an array of cache keys
* @param arr
* @returns Array of keys successfully imported
*/
private importArray;
/**
* Gets encryption context for a given cache entry. This is clientId for app specific entries, empty string for shared entries
* @param key
* @returns
*/
private getContext;
private updateCache;
}
//# sourceMappingURL=LocalStorage.d.ts.map