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