import type { Atom } from '../utils/types.js'; import type { Storage } from '@exodus/storage-interface'; type Params = { key: string; defaultValue?: D; isSoleWriter?: boolean; }; declare function createStorageAtomFactory(params: { storage: Storage; }): ReturnType>; declare function createStorageAtomFactory(params: { storage: Storage; }): ReturnType>; declare const _createStorageAtomFactory: ({ storage }: { storage: Storage; }) => { (opts: Omit, "defaultValue">): Atom; (opts: Params): Atom; }; export default createStorageAtomFactory;