import { OnDestroy } from '@angular/core'; import { Query } from '@datorama/akita'; import { GridStore } from './grid.store'; import { DatoGridSettings, GridStoreState, ServerSidePaginationConfig } from './grid.store.types'; import { Column, RowNode } from '@ag-grid-community/core'; import { DatoGridApi } from '../grid-controller/grid-controller.types'; import { AgGridAngular } from '@ag-grid-community/angular'; import { BehaviorSubject, Observable, Subject } from 'rxjs'; import { DatoGridAlignment, DatoGridDataChangedEvent, DatoGridOptions, DatoGridSort, GridRowsSelectionData } from '../grid/grid-v2.types'; import { DatoGridExternalFilter, DatoGridFiltersMap } from '../grid-filter/grid-filter.types'; import { HashMap } from '../../utils/types'; export declare class GridQuery extends Query implements OnDestroy { protected store: GridStore; api: DatoGridApi; gridRef: AgGridAngular; _gridReady: BehaviorSubject; gridReady$: Observable; _serverDataLoaded: Subject; serverDataLoaded$: Observable; _rowActionVisibilityChanged: Subject; rowActionVisibilityChanged$: Observable; rowDataChanged$: Observable; selectedRowsChange$: Observable; rowsSelectionData$: Observable; filterActive$: Observable; serverSideError$: Observable; constructor(store: GridStore); get serverSideConfig(): ServerSidePaginationConfig; get isServerSide(): boolean; get isServerSelectAllRowsEnabled(): boolean; get gridAlignment(): DatoGridAlignment; getColumnSizes(): HashMap; getCurrentGridSettings(): DatoGridSettings; getSortModel(): DatoGridSort; getSavedSort(): DatoGridSort; getSort(savedSort?: DatoGridSort): DatoGridSort; _setApi(api: DatoGridApi, gridRef: AgGridAngular): void; /** Returns just the rows data */ getSelectedRows(): T[]; getSelectedRows(onlyFirstRow: true): T | undefined; getSelectedRows(onlyFirstRow: false): T[]; /** Returns the entire row node */ getSelectedRowNodes(): RowNode[]; getSelectedRowNodes(onlyFirstRow: true): RowNode | undefined; getSelectedRowNodes(onlyFirstRow: false): RowNode[]; getFilter(): DatoGridFiltersMap; selectFilter(): Observable; getExternalFilter(): DatoGridExternalFilter[]; getSearchTerm(): string; selectSearchTerm(): Observable; waitForGrid(): Observable; waitForGrid(source: () => Observable): Observable; ngOnDestroy(): void; getGridOptions(): DatoGridOptions; selectServerPaginationConfig(): Observable; getSelectedRowsCount(): number; getCurrentPageRows(): RowNode[]; getAllColumns(): Column[]; getAllDisplayedColumns(): Column[]; getAllPivotColumns(): Column[]; selectIsSelectAllRowsEnabled(): Observable; getSecondaryColumn(colId: string): Column; private filterCheckboxSelectionColumn; }