import type { Static } from '@eggjs/typebox-validate/typebox';
import { Context } from 'egg';
import { ScopeCreateOptions } from '../typebox.ts';
import { AbstractController } from './AbstractController.ts';
export declare class ScopeController extends AbstractController {
    private readonly scopeManagerService;
    private readonly registryManagerService;
    createScope(ctx: Context, scopeOptions: Static<typeof ScopeCreateOptions>): Promise<{
        ok: boolean;
    }>;
    removeScope(ctx: Context, id: string): Promise<{
        ok: boolean;
    }>;
}
