import { AbstractService } from '../../common/AbstractService.ts'; import { Scope } from '../entity/Scope.ts'; import type { PageOptions, PageResult } from '../util/EntityUtil.ts'; export interface CreateScopeCmd extends Pick { operatorId?: string; } export interface UpdateRegistryCmd extends Pick { operatorId?: string; } export interface RemoveScopeCmd { scopeId: string; operatorId?: string; } export interface RemoveScopeByRegistryIdCmd { registryId: string; operatorId?: string; } export declare class ScopeManagerService extends AbstractService { private readonly scopeRepository; findByName(name: string): Promise; countByRegistryId(registryId: string): Promise; createScope(createCmd: CreateScopeCmd): Promise; listScopes(page: PageOptions): Promise>; listScopesByRegistryId(registryId: string, page: PageOptions): Promise>; removeByRegistryId(removeCmd: RemoveScopeByRegistryIdCmd): Promise; remove(removeCmd: RemoveScopeCmd): Promise; }