import { IndexPath } from './indexPath.js'; import { MutationBaseOptions } from './options.js'; export type RemoveOptions = MutationBaseOptions & { paths: IndexPath[]; }; export type RemoveWithPathTrackingOptions = MutationBaseOptions & { paths: IndexPath[]; track: IndexPath[]; }; /** * Remove nodes at the given `IndexPath`s. */ export declare function remove(node: T, options: RemoveOptions): T; /** * Remove nodes at the given `IndexPath`s. */ export declare function removeWithPathTracking(node: T, options: RemoveWithPathTrackingOptions): { node: T; paths: (IndexPath | undefined)[]; };