import type { AsyncPersistStorage, PersistStorageConfig } from '../../store/types'; import type { AsyncStorageInterface, BaseStoreOptions, EnforceStorageKey, SyncStorageInterface } from '../../types'; import type { SyncContext } from '../sync/syncEnhancer'; /** * Creates a persist storage object for the base store. */ export declare function createPersistStorage, PersistReturn>(options: EnforceStorageKey>, storage: AsyncStorageInterface | SyncStorageInterface | undefined, syncContext: SyncContext | undefined): PersistStorageConfig; /** * Creates an asynchronous persist storage adapter. */ export declare function createAsyncPersistStorage, PersistReturn>(storage: AsyncStorageInterface, options: EnforceStorageKey>, persistThrottleMs: number | undefined, syncContext?: SyncContext): AsyncPersistStorage; //# sourceMappingURL=storageCreators.d.ts.map