export { S as Store, a as StrictPropertyCheck, c as create, e as eventBus } from './create-CcDT2NHH.js'; import { C as Cache, O as Options } from './provider-BhdFdRyp.js'; export { E as EventBus, P as Provider, d as debounce, e as emitPersistReady, o as onPersistReady } from './provider-BhdFdRyp.js'; import 'react'; declare const isClient = true; declare const wrapState: (state: T) => T & { ready: boolean; }; declare const persistStore: (store: { readonly getState: () => any; readonly setState: (newValue: any) => void; readonly forceUpdate: () => void; readonly syncState: (newValue: any) => void; readonly subscribe: (callback: (state: any) => void) => () => void; readonly destroy: () => void; }, options: { key: string; debounce?: number | undefined; cache?: Cache | undefined; encode?: ((state: T) => string) | undefined; decode?: ((data: string) => T) | undefined; transform?: ((state: T) => T) | undefined; }) => Promise<() => void>; declare const usePersist: ({ key, setState, getState, ...rest }: Options) => readonly [boolean, () => void | Promise, number]; export { isClient, persistStore, usePersist, wrapState };