import { Observable, Subject } from 'rxjs'; import { SecurityControlsGroupResponse } from './models/security-controls-group-response.interface'; import { SecurityControlsMarkResponse } from './models/security-controls-mark-response.interface'; import { SecurityGroupsApi, SecurityMarksApi, SecurityGroupEntry, SecurityMarkEntry, SecurityGroupBody, SecurityMarkPaging, SecurityMarkBody, AuthorityClearanceApi, AuthorityClearanceGroupPaging, NodeSecurityMarkBody } from '@alfresco/js-api'; import * as i0 from "@angular/core"; export declare class SecurityControlsService { private readonly apiService; private readonly userPreferencesService; private readonly groupsPaginatedSource; groupsPaginated$: Observable; private readonly reloadSecurityControls; reloadSecurityControls$: Observable; private readonly _reloadAuthorityClearance; reloadAuthorityClearance$: Observable; private readonly marksPaginatedSource; marksPaginated$: Observable; private readonly loadingSource; loading$: Observable; private securityGroup; private securityMark; private authorityClearance; get groupsApi(): SecurityGroupsApi; get marksApi(): SecurityMarksApi; get authorityClearanceApi(): AuthorityClearanceApi; get reloadAuthorityClearance(): Subject; /** * Get All security groups * * @param skipCount The number of entities that exist in the collection before those included in this list. * @param maxItems The maximum number of items to return in the list. Default is specified by UserPreferencesService. * @param include Additional information about the security group * @returns Promise */ getSecurityGroup(skipCount?: number, maxItems?: number, include?: string): Promise; /** * Create security group * * @param input securityGroupBody. * @returns Observable */ createSecurityGroup(input: SecurityGroupBody): Observable; /** * Create security marks * * @param securityGroupId The key for the security group id. * @param input securityMarkBody[]. * @returns Promise */ createSecurityMarks(securityGroupId: string, input: SecurityMarkBody[]): Promise; /** * Get security mark value * Gets the value for a selected **securityGroupId**. * * @param securityGroupId The key for the security group id. * @param skipCount The number of entities that exist in the collection before those included in this list. * @returns Promise */ getSecurityMark(securityGroupId: string, skipCount?: number): Promise; /** * Update a security groups information * * @param securityGroupId The Key of Security Group id for which info is required * @param input SecurityGroupBody * @param opts additional information about the security group * @returns Promise */ updateSecurityGroup(securityGroupId: string, input: SecurityGroupBody, opts?: any): Promise; /** * Updates Security Mark value * * @param securityGroupId The key for the security group id. * @param securityMarkId The key for the security mark is in use or not. * @param input securityMarkBody. * @returns Promise */ updateSecurityMark(securityGroupId: string, securityMarkId: string, input: SecurityMarkBody): Promise; /** * Delete security group * * @param securityGroupId The key for the security group id. * @returns Observable */ deleteSecurityGroup(securityGroupId: string): Observable; /** * Delete security mark * * @param securityGroupId The key for the security group id. * @param securityMarkId The key for the security mark id. * @returns Promise */ deleteSecurityMark(securityGroupId: string, securityMarkId: string): Promise; /** * Get the authority clearances for a single user/group * * @param authorityName The name for the authority for which the clearance is to be fetched. Can be left blank in which case it will fetch it for all users with pagination * @param skipCount The number of entities that exist in the collection before those included in this list. * @param maxItems The maximum number of items to return in the list. Default is specified by UserPreferencesService. * @returns Observable */ getClearancesForAuthority(authorityName: string, skipCount?: number, maxItems?: number): Observable; /** * Updates the authority clearance. * * @param authorityName The name for the authority for which the clearance is to be updated * @param securityMarksList NodeSecurityMarkBody[] * @returns Observable */ updateClearancesForAuthority(authorityName: string, securityMarksList: NodeSecurityMarkBody[]): Observable; reloadSecurityGroups(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }