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