@promptbook/remote-server
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
10 lines (9 loc) • 428 B
TypeScript
import type { PromptbookStorage } from '../../_common/PromptbookStorage';
import type { IndexedDbStorageOptions } from './IndexedDbStorageOptions';
/**
* Creates a PromptbookStorage backed by IndexedDB.
* Uses a single object store named 'promptbook'.
*
* @private for `getIndexedDbStorage`
*/
export declare function makePromptbookStorageFromIndexedDb<TValue>(options: IndexedDbStorageOptions): PromptbookStorage<TValue>;