/** * This interfaces provides the contract that an session management utility must * satisfiy in order to work with this SDK, please vist the example provided in the * README, to understand how this works. */ type Awaitable = Promise; export interface SessionManager { persistent?: boolean; getSessionItem: (itemKey: string) => Awaitable; setSessionItem: (itemKey: string, itemValue: T) => Awaitable; removeSessionItem: (itemKey: string) => Awaitable; destroySession: () => Awaitable; } export {};