/** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ import { NzSafeAny } from 'ng-zorro-antd/core/types'; import { FilterableDataSource } from './filterable-data-source'; export declare abstract class CrudDataSource2 extends FilterableDataSource { protected constructor(initialData?: T[], filterPredicate?: NzSafeAny); add(model: T): void; remove(model: T): void; update(model: T): void; addOrUpdate(model: T): void; applyFilter(filterValue: F): void; updateData(data: T[], clearFilter?: boolean): void; /** * a 와 b 가 동등한지 체크한다 * @param a * @param b */ abstract isEquals(a: T, b: T): boolean; }