import { default as React } from 'react'; import { Storage, PersistenceMode } from '../utils/storage'; export declare const StorageProvider: React.FC<{ prefix?: string; /** Persistence backend for this instance (#138). Defaults to `'local'`. */ persistence?: PersistenceMode; children: React.ReactNode; }>; /** * Access the current instance's isolated storage handle. Without a * `StorageProvider` (single-instance apps, tests rendering a provider directly) * it falls back to the process-wide default handle, so behaviour is unchanged. */ export declare const useStorage: () => Storage;