import { EggContext } from '@eggjs/tegg';
import { AbstractController } from './AbstractController';
import { Static } from 'egg-typebox-validate/typebox';
import { UpdateRegistryCmd } from '../../core/service/RegistryManagerService';
import { RegistryCreateOptions, QueryPageOptions, RegistryCreateSyncOptions } from '../typebox';
export declare class RegistryController extends AbstractController {
    private readonly registryManagerService;
    private readonly scopeManagerService;
    listRegistries(pageSize: Static<typeof QueryPageOptions>['pageSize'], pageIndex: Static<typeof QueryPageOptions>['pageIndex']): Promise<import("../../core/util/EntityUtil").PageResult<import("../../core/entity/Registry").Registry>>;
    showRegistry(id: string): Promise<import("../../core/entity/Registry").Registry>;
    showRegistryScopes(id: string, pageSize: Static<typeof QueryPageOptions>['pageSize'], pageIndex: Static<typeof QueryPageOptions>['pageIndex']): Promise<import("../../core/util/EntityUtil").PageResult<import("../../core/entity/Scope").Scope>>;
    createRegistry(ctx: EggContext, registryOptions: Static<typeof RegistryCreateOptions>): Promise<{
        ok: boolean;
    }>;
    createRegistrySyncTask(ctx: EggContext, id: string, registryOptions: Static<typeof RegistryCreateSyncOptions>): Promise<{
        ok: boolean;
    }>;
    removeRegistry(ctx: EggContext, id: string): Promise<{
        ok: boolean;
    }>;
    updateRegistry(ctx: EggContext, id: string, updateRegistryOptions: Partial<UpdateRegistryCmd>): Promise<{
        ok: boolean;
    }>;
}
