import type { Storage, AsyncStorage } from './@types/storage'; import type { PersistedState } from './@types/hook'; export default function createPersistedState(name: string, storage: S): [PersistedState, () => void | Promise]; export { default as createPersistedState } from './create-persisted-state'; export { default as createAsyncPersistedState } from './create-async-persisted-state'; export type { AsyncStorage, Storage, StorageChange, StorageChangeEvent, StorageChangeListener } from './@types/storage'; export type { PersistedState, UsePersistedState } from './@types/hook'; //# sourceMappingURL=index.d.ts.map