import { OnDestroy, OnInit } from '@angular/core'; import { MatSort, Sort } from '@angular/material'; import { StorageService } from 'ngx-webstorage-service'; /** * Directives which persists the sort of MatSort in StorageService. */ export declare class PersistedSortDirective implements OnInit, OnDestroy { private readonly matSort; private readonly storage; key: string; private readonly sortChangeSubscription; constructor(matSort: MatSort, storage: StorageService); ngOnInit(): void; ngOnDestroy(): void; private saveSort; private restoreSort; private readonly fullStorageKey; }