customerio-gist-web
Version:
Build beautiful in-app flows with no code and deliver them instantly to your app. http://customer.io
8 lines (7 loc) • 502 B
TypeScript
export declare function shouldPersistSession(persisted: boolean | string): void;
export declare function setKeyToLocalStore(key: string, value: unknown, ttl?: Date | null): void;
export declare function getKeyFromLocalStore(key: string): unknown | null;
export declare function clearKeyFromLocalStore(key: string): void;
export declare function clearExpiredFromLocalStore(): void;
export declare function clearSessionPersistenceFlag(): void;
export declare function isSessionBeingPersisted(): boolean;