@promptbook/browser
Version:
Promptbook: Run AI apps in plain human language across multiple models and platforms
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`
*/