import { Application } from 'egg'; import { ControllerMetadata, ControllerTypeLike } from '@eggjs/tegg'; import { EggPrototype } from '@eggjs/tegg-metadata'; import { ControllerRegister } from './ControllerRegister'; export type RegisterCreator = (proto: EggPrototype, controllerMeta: ControllerMetadata, app: Application) => ControllerRegister; export declare class ControllerRegisterFactory { private readonly app; private registerCreatorMap; constructor(app: Application); registerControllerRegister(type: ControllerTypeLike, creator: RegisterCreator): void; getControllerRegister(proto: EggPrototype, metadata: ControllerMetadata): ControllerRegister | undefined; }