import { ChangeDetectorRef, OnDestroy, PipeTransform } from '@angular/core';
import { PermissionsService } from '../../providers/permissions/permissions.service';
import * as i0 from "@angular/core";
/**
* @description
* A pipe which checks the provided permission against all the permissions of the current user.
* Returns `true` if the current user has that permission.
*
* @example
* ```HTML
*
* ```
* @docsCategory pipes
*/
export declare class HasPermissionPipe implements PipeTransform, OnDestroy {
private permissionsService;
private changeDetectorRef;
private hasPermission;
private lastPermissions;
private subscription;
constructor(permissionsService: PermissionsService, changeDetectorRef: ChangeDetectorRef);
transform(input: string | string[]): any;
ngOnDestroy(): void;
private dispose;
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵpipe: i0.ɵɵPipeDeclaration;
}