import { Service } from '../../providers/service/service'; import { LifecycleHooks } from '../../providers/service/lifecycle-hooks'; /** * Service for restrictions. * * Delegates the restriction calculations to the specialized restriction services and triggers * a recalculation whenever the state they depend on changes. */ export declare class RestrictionService implements Service, LifecycleHooks { private readonly viewRestrictionService; private readonly repositoryContextService; private readonly licenseContextService; private readonly securityContextService; private readonly restrictionContextService; onCreated(): void; /** * Subscribes to selected repository changes to recalculate the view restriction. */ private subscribeToRepositoryChanges; /** * Subscribes to license changes to recalculate the view restriction. */ private subscribeToLicenseChanges; /** * Subscribes to security configuration changes to recalculate the is view restriction. */ private subscribeToSecurityConfigChanges; /** * Subscribes to authenticated user changes to recalculate the is view restriction. */ private subscribeToAuthenticatedUserChanges; /** * Subscribes to view restriction changes to recalculate the is view restriction. */ private subscribeToViewRestrictionChanges; }