import { Read, Write, Atom, WritableAtom, WithInitialValue, PrimitiveAtom, NonFunction } from './types'; export declare function atom(read: Read, write: Write): WritableAtom; export declare function atom(read: NonFunction, write: Write): WritableAtom & WithInitialValue; export declare function atom(read: Read): Atom; export declare function atom(initialValue: NonFunction): PrimitiveAtom & WithInitialValue;