/** * 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 { OnDestroy } from '@angular/core'; import { BehaviorSubject, Observable } from 'rxjs'; import { NzTableFilterFn, NzTableFilterValue, NzTableQueryParams, NzTableSortFn, NzTableSortOrder } from './table.types'; import * as i0 from "@angular/core"; export declare class NzTableDataService implements OnDestroy { private destroy$; private pageIndex$; private frontPagination$; private pageSize$; private listOfData$; pageIndexDistinct$: Observable; pageSizeDistinct$: Observable; listOfCalcOperator$: BehaviorSubject<{ key?: string | undefined; sortFn: NzTableSortFn | null | boolean; sortOrder: NzTableSortOrder; filterFn: NzTableFilterFn | null | boolean; filterValue: NzTableFilterValue; sortPriority: number | boolean; }[]>; queryParams$: Observable; private listOfDataAfterCalc$; private listOfFrontEndCurrentPageData$; listOfCurrentPageData$: Observable; total$: Observable; updatePageSize(size: number): void; updateFrontPagination(pagination: boolean): void; updatePageIndex(index: number): void; updateListOfData(list: readonly T[]): void; constructor(); ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵprov: i0.ɵɵInjectableDeclaration>; }