/** * @license * Copyright Datorama. All Rights Reserved. * * Use of this source code is governed by an Apache License 2.0 license that can be * found in the LICENSE file at https://github.com/datorama/client-core/blob/master/LICENSE */ import { ChangeDetectorRef, ElementRef, OnDestroy, TemplateRef, ViewContainerRef } from '@angular/core'; import { IHeaderAngularComp } from '@ag-grid-community/angular'; import { Column, ColumnApi, GridApi, IAfterGuiAttachedParams, IHeaderParams } from '@ag-grid-community/core'; import { DatoColumnHeaderParams } from './grid-column-header.types'; import { CustomHeaderControllerService } from './custom-header-controller.service'; import { Observable } from 'rxjs'; export declare class DatoGridColumnHeaderComponent implements OnDestroy, IHeaderAngularComp { private vcr; private controller; private host; private cdr; headerName: string; headerTooltip: string; params: DatoColumnHeaderParams; column: Column; customTemplates: { customHeader?: TemplateRef; moreMenu?: TemplateRef; }; showFilter: boolean; showMoreMenu: boolean; context: { api: { grid: GridApi; columns: ColumnApi; }; column: Column; }; filterActive$: Observable; field: string; sortingInfo$: Observable<{ active: boolean; icon: string; }>; moreMenuOpen: boolean; filtersMenuOpen: boolean; headerInfo: string; constructor(vcr: ViewContainerRef, controller: CustomHeaderControllerService, host: ElementRef, cdr: ChangeDetectorRef); afterGuiAttached(params?: IAfterGuiAttachedParams): void; refresh(_params: IHeaderParams): boolean; agInit(params: DatoColumnHeaderParams): void; openFilters(origin: any): void; openMoreMenu(origin: any): void; ngOnDestroy(): void; private getHeaderTooltip; }