/*! * Jodit Editor PRO (https://xdsoft.net/jodit/) * See LICENSE.md in the project root for license information. * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/ */ import type { IReconcileOptions } from "./list-reconciler"; /** * Helper class for managing reconcilable UI elements */ export declare abstract class ReconcilableUIList { protected items: T[]; /** * Update list with new items using reconciliation */ updateItems(newItems: T[], options: IReconcileOptions): void; /** * Override to handle item creation */ protected abstract createItem(item: T, index: number): void; /** * Override to handle item updates */ protected abstract updateItem(oldItem: T, newItem: T, index: number): void; /** * Override to handle item removal */ protected abstract removeItem(item: T): void; }