@promptbook/remote-server
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
9 lines (8 loc) • 414 B
TypeScript
import type { PromptbookStorage } from '../../_common/PromptbookStorage';
/**
* Creates a Promptbook storage interface from a web storage object.
* Facilitates using Web Storage (localStorage/sessionStorage) as a storage backend.
*
* @private for `getLocalStorage` and `getSessionStorage`
*/
export declare function makePromptbookStorageFromWebStorage<TValue>(webStorage: Storage): PromptbookStorage<TValue>;