declare const voidOnly: unique symbol; type Destructor = () => void | { [voidOnly]: never; }; type LiteAtom = { value: T; set(state: T): void; update(fn: (state: T) => T): void; subscribe(fn: (state: T, prevState: T) => void | Destructor): () => void; watch(fn: (state: T, prevState: T) => void | Destructor): () => void; }; declare function create(): LiteAtom; declare function create(value: T): LiteAtom; export { LiteAtom, create };