import { IndexPath } from './indexPath.js'; import { MutationBaseOptions } from './options.js'; export type InsertOptions = MutationBaseOptions & { nodes: T[]; path: IndexPath; }; export type InsertWithPathTrackingOptions = MutationBaseOptions & { nodes: T[]; path: IndexPath; track: IndexPath[]; }; /** * Insert nodes at a given `IndexPath`. */ export declare function insert(node: T, options: InsertOptions): T; /** * Insert nodes at a given `IndexPath`. */ export declare function insertWithPathTracking(node: T, options: InsertWithPathTrackingOptions): { node: T; paths: (IndexPath | undefined)[]; };