import { AbstractService } from '../../common/AbstractService.ts'; import { Registry } from '../entity/Registry.ts'; import type { PageOptions, PageResult } from '../util/EntityUtil.ts'; export interface CreateRegistryCmd extends Pick { operatorId?: string; } export interface UpdateRegistryCmd extends Pick { operatorId?: string; } export interface RemoveRegistryCmd extends Pick { operatorId?: string; } export interface StartSyncCmd { registryId: string; since?: string; operatorId?: string; } export declare class RegistryManagerService extends AbstractService { private readonly registryRepository; private readonly scopeManagerService; private readonly taskService; createSyncChangesStream(startSyncCmd: StartSyncCmd): Promise; createRegistry(createCmd: CreateRegistryCmd): Promise; updateRegistry(registryId: string, updateCmd: UpdateRegistryCmd): Promise; listRegistries(page: PageOptions): Promise>; findByRegistryId(registryId: string): Promise; findByRegistryName(registryName?: string): Promise; findByRegistryHost(host?: string): Promise; remove(removeCmd: RemoveRegistryCmd): Promise; ensureSelfRegistry(): Promise; ensureDefaultRegistry(): Promise; getAuthTokenByRegistryHost(host: string): Promise; }