function splitAtomimport { splitAtom } from "https://dotland.deno.dev/x/jotai@v2.10.2/src/vanilla/utils.ts"; splitAtom<Item, Key>(arrAtom: WritableAtom<Item[], [Item[]], void>, keyExtractor?: (item: Item) => Key): WritableAtom<PrimitiveAtom<Item>[], [SplitAtomAction<Item>], void>splitAtom<Item, Key>(arrAtom: Atom<Item[]>, keyExtractor?: (item: Item) => Key): Atom<Atom<Item>[]>Type ParametersItemKeyParametersarrAtom: WritableAtom<Item[], [Item[]], void>optionalkeyExtractor: (item: Item) => KeyReturnsWritableAtom<PrimitiveAtom<Item>[], [SplitAtomAction<Item>], void>Type ParametersItemKeyParametersarrAtom: Atom<Item[]>optionalkeyExtractor: (item: Item) => KeyReturnsAtom<Atom<Item>[]>