function atomimport { atom } from "https://deno.land/x/jotai@v2.0.4/src/vanilla.ts"; atom<Value, Args extends unknown[], Result>(read: Read<Value, SetAtom<Args, Result>>, write: Write<Args, Result>): WritableAtom<Value, Args, Result>atom<Value>(read: Read<Value>): Atom<Value>atom<Value, Args extends unknown[], Result>(initialValue: Value, write: Write<Args, Result>): WritableAtom<Value, Args, Result> & WithInitialValue<Value>atom<Value>(initialValue: Value): PrimitiveAtom<Value> & WithInitialValue<Value>Type ParametersValueArgs extends unknown[]ResultParametersread: Read<Value, SetAtom<Args, Result>>write: Write<Args, Result>ReturnsWritableAtom<Value, Args, Result>Type ParametersValueParametersread: Read<Value>ReturnsAtom<Value>Type ParametersValueArgs extends unknown[]ResultParametersinitialValue: Valuewrite: Write<Args, Result>ReturnsWritableAtom<Value, Args, Result> & WithInitialValue<Value>Type ParametersValueParametersinitialValue: ValueReturnsPrimitiveAtom<Value> & WithInitialValue<Value>