import type { MidwayDecoratorService } from '@midwayjs/core'; import type { Application } from '../types.js'; export declare function autoRegisterDecoratorHandlers(app: Application, decoratorService: MidwayDecoratorService, ignoreRetrieveDecoratorHandlerError: boolean): Promise; export declare function registerDecoratorHandlers(app: Application, decoratorService: MidwayDecoratorService, decoratorKeys: string[], ignoreDecoratorKeyNotExistsError?: boolean): Promise;