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>;
/**
 * TODO: [🧠] Should this be named `makePromptbookStorageFromWebStorage` vs `createPromptbookStorageFromWebStorage`
 * TODO: [🌗] Maybe some checkers, not all valid JSONs are desired and valid values
 */
