import { Action, AtomMut } from '@reatom/core'; export interface ArrayLikeAtom extends AtomMut> { __reatomArray: true; } export interface ArrayAtom extends ArrayLikeAtom { toReversed: Action<[], T[]>; toSorted: Action<[compareFn?: (a: T, b: T) => number], T[]>; toSpliced: Action<[start: number, deleteCount: number, ...items: T[]], T[]>; with: Action<[i: number, value: T], T[]>; push: Action<[...items: T[]], number>; pop: Action<[], T | undefined>; shift: Action<[], T | undefined>; unshift: Action<[...items: T[]], number>; } export declare const reatomArray: (initState?: T[], name?: string) => ArrayAtom; export declare const isArrayAtom: (thing: any) => thing is ArrayLikeAtom; //# sourceMappingURL=reatomArray.d.ts.map