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