import * as Bunyan from "bunyan"; import { CallHandler, ExecutionContext, NestInterceptor } from '@nestjs/common'; import { Observable } from 'rxjs'; import { IdentityBill } from '../types'; import { RightsTree } from './rights-tree'; import { IdentifiedExpressRequest } from '../helper-types'; export interface HttpAuthzOptions { tree: RightsTree>; logger?: Bunyan; } export declare class HttpAuthzInterceptor implements NestInterceptor { private readonly _options; private readonly _tree; private readonly _logger; constructor(_options: HttpAuthzOptions); private _forbidden; private _getScopes; private _validateScopesAgainstGrants; private _validateScopeAgainstRights; private _validateScopesAgainstRights; intercept(context: ExecutionContext, next: CallHandler): Promise>; }