import { Scope } from '../core/entity/Scope.ts'; import { type PageOptions, type PageResult } from '../core/util/EntityUtil.ts'; import { AbstractRepository } from './AbstractRepository.ts'; import type { Scope as ScopeModel } from './model/Scope.ts'; export declare class ScopeRepository extends AbstractRepository { private readonly Scope; countByRegistryId(registryId: string): Promise; findByName(name: string): Promise; listScopesByRegistryId(registryId: string, page: PageOptions): Promise>; listScopes(page: PageOptions): Promise>; saveScope(scope: Scope): Promise; removeScope(scopeId: string): Promise; removeScopeByRegistryId(registryId: string): Promise; }