import type { Atom, PrimitiveAtom, WritableAtom } from 'jotai/vanilla'; type SplitAtomAction = { type: 'remove'; atom: PrimitiveAtom; } | { type: 'insert'; value: Item; before?: PrimitiveAtom; } | { type: 'move'; atom: PrimitiveAtom; before?: PrimitiveAtom; }; export declare function splitAtom(arrAtom: WritableAtom, keyExtractor?: (item: Item) => Key): WritableAtom[], [SplitAtomAction], void>; export declare function splitAtom(arrAtom: Atom, keyExtractor?: (item: Item) => Key): Atom[]>; export {};