import { PersistenceStoreType } from '../mod'; export declare function AtomicStateAsync({ children, default: def, value, storeName, persistenceProvider }: { clientOnly?: boolean; children: any; /** * Set default values using an atom's key */ default?: { [key: string]: any; }; value?: { [key: string]: any; }; /** * The store name where atoms under the tree will be saved */ storeName?: string | boolean; /** * The persistence provider (optional). It should have the `getItem`, `setItem` and `removeItem` methods. * * @default localStorage */ persistenceProvider?: PersistenceStoreType; }): Promise;