import React from 'react'; import { Atom, WritableAtom, AnyAtom } from './types'; export declare type AtomState = { readE?: Error; readP?: Promise; writeP?: Promise; value: Value; }; declare type State = Map; export declare type Actions = { add: (id: symbol, atom: Atom) => void; del: (id: symbol) => void; read: (state: State, atom: Atom) => AtomState; write: (atom: WritableAtom, update: Update) => void | Promise; }; export declare const ActionsContext: React.Context; export declare const StateContext: React.Context; export declare const Provider: React.FC; export {};