interface ClientStorageOptions { daysUntilExpire?: number; cookieDomain?: string; } /** * Defines a type that handles storage to/from a storage location */ export type ClientStorage = { get(key: string): T | undefined; save(key: string, value: any, options?: ClientStorageOptions): void; remove(key: string, options?: ClientStorageOptions): void; }; /** * A storage protocol for marshalling data to/from cookies */ export declare const CookieStorage: ClientStorage; /** * A storage protocol for marshalling data to/from session storage */ export declare const SessionStorage: ClientStorage; export {};