function atomimport { atom } from "https://deno.land/x/jotai@v2.10.2/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>(): PrimitiveAtom<Value | undefined> & WithInitialValue<Value | undefined>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 ParametersValueReturnsPrimitiveAtom<Value | undefined> & WithInitialValue<Value | undefined>Type ParametersValueParametersinitialValue: ValueReturnsPrimitiveAtom<Value> & WithInitialValue<Value>