import type { Application } from 'egg';
import type { EggContext, EggContextLifecycleContext } from '@eggjs/tegg-runtime';
import type { EggProtoImplClass, LifecycleHook } from '@eggjs/tegg';
import { EggPrototype } from '@eggjs/tegg-metadata';
export interface EggPrototypeWithClazz extends EggPrototype {
    clazz?: EggProtoImplClass;
}
export interface ProtoToCreate {
    name: string;
    proto: EggPrototype;
}
export declare class AopContextHook implements LifecycleHook<EggContextLifecycleContext, EggContext> {
    private readonly moduleHandler;
    private requestProtoList;
    constructor(moduleHandler: Application['moduleHandler']);
    preCreate(_: any, ctx: EggContext): Promise<void>;
}
