import { AriaDescriber, FocusMonitor } from '@angular/cdk/a11y'; import { AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy } from '@angular/core'; import { MatSortDefaultOptions, MatSortHeader, MatSortHeaderIntl, SortDirection } from '@angular/material/sort'; import { MatMultiSort } from './mat-multi-sort.directive'; import * as i0 from "@angular/core"; interface CanDisable { /** Whether the component is disabled. */ disabled: boolean; } /** Column definition associated with a `MatSortHeader`. */ interface MatSortHeaderColumnDef { name: string; } export declare class MatMultiSortHeader extends MatSortHeader implements AfterViewInit, CanDisable, OnDestroy { _intl: MatSortHeaderIntl; _sort: MatMultiSort; _columnDef: MatSortHeaderColumnDef; id: string; sortingPosition: string; private readonly unsubscribe$; constructor(_intl: MatSortHeaderIntl, changeDetectorRef: ChangeDetectorRef, _sort: MatMultiSort, _columnDef: MatSortHeaderColumnDef, _focusMonitor: FocusMonitor, _elementRef: ElementRef, _ariaDescriber?: AriaDescriber | null, defaultOptions?: MatSortDefaultOptions); ngAfterViewInit(): void; ngOnDestroy(): void; _isSorted(): boolean; /** * Updates the direction the arrow should be pointing. If it is not sorted, the arrow should be * facing the start direction. Otherwise if it is sorted, the arrow should point in the currently * active sorted direction. The reason this is updated through a function is because the direction * should only be changed at specific times - when deactivated but the hint is displayed and when * the sort is active and the direction changes. Otherwise the arrow's direction should linger * in cases such as the sort becoming deactivated but we want to animate the arrow away while * preserving its direction, even though the next sort direction is actually different and should * only be changed once the arrow displays again (hint or activation). */ _updateArrowDirection(): void; /** * Gets the aria-sort attribute that should be applied to this sort header. If this header * is not sorted, returns null so that the attribute is removed from the host element. Aria spec * says that the aria-sort property should only be present on one header at a time, so removing * ensures this is true. * @returns string ('ascending' | 'descending') to be used as aria-sort content */ _getAriaSortAttribute(): "none" | "ascending" | "descending"; _getSortDirection(): SortDirection; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export {};