import * as fromRoot from '../+shared'; import * as fromModels from './model'; import { AccessInList, GetAccessesPageParams, GlobalAccessInList } from './model'; import { Client } from '../Client'; export declare class AccessApi { private client; private readonly requestMappingUrl; private readonly isSpecial; constructor(client: Client, requestMappingUrl: string, isSpecial?: boolean); grantAccess(params: fromModels.GrantAccessParams): Promise; grantAccesses(params: fromModels.GrantAccessesParams): Promise; revokeAccess(assetId: number, accessId: number | string): Promise; revokeAccesses(accessIds: (number | string)[]): Promise; /** * Use to get paged access of User Groups for asset */ getPagedAccesses(assetId: number | string, params?: GetAccessesPageParams): Promise>; /** * Use to get list of Users with global access for asset */ getUsersWithGlobalAccess(assetId: number | string): Promise>; /** * Use to get list of users asset permissions for asset */ getMyAssetPermissions(assetId: number | string): Promise>; /** * Use to get paged list of assets a user group has access to */ pageAccesses(params: GetAccessesPageParams): Promise>; } //# sourceMappingURL=AccessApi.d.ts.map