import type { Atom, WritableAtom, PrimitiveAtom } from './atom'; export declare type ExtractAtomValue = AtomType extends Atom ? Value : never; export declare type ExtractAtomUpdate = AtomType extends WritableAtom ? Update : never; export declare type SetStateAction = ExtractAtomUpdate>;