@promptbook/remote-client
Version:
Promptbook: Turn your company's scattered knowledge into AI ready books
11 lines (10 loc) • 396 B
TypeScript
import type { PromptbookStorage } from '../_common/PromptbookStorage';
/**
* Gets wrapper around `sessionStorage` object which can be used as `PromptbookStorage`
*
* @public exported from `@promptbook/browser`
*/
export declare function getSessionStorage<TItem>(): PromptbookStorage<TItem>;
/**
* Note: [🔵] Code in this file should never be published outside of `@promptbook/browser`
*/