/** * Capture array elements that will be removed when shrinking array length. * * @param targetArray - The array being modified * @param oldLen - The current length * @param newLen - The new (smaller) length * @returns Array of {index, value} pairs for elements that will be removed */ export declare const captureShrinkRemovals: (targetArray: any[], oldLen: number, newLen: number) => { index: number; value: any; }[]; /** * Delete an array element by index using splice to avoid sparse arrays. * Suspends write notifications during the splice to avoid noisy intermediate records. * * @param root - The root object (for suspend/resume context) * @param arrayTarget - The array to modify * @param index - The numeric index to delete * @returns true if deletion succeeded */ export declare const deleteIndex: (root: object, arrayTarget: any[], index: number) => boolean; /** * Check if a delete operation is for an array index. * * @param target - The target object * @param key - The normalized key * @returns true if this is an array index deletion */ export declare const isArrayIndexDeletion: (target: any, key: string) => boolean; //# sourceMappingURL=array-mutations.d.ts.map