import { EggProtoImplClass, LifecycleHook } from '@eggjs/tegg'; import { EggPrototypeFactory, LoadUnit, LoadUnitLifecycleContext } from '@eggjs/tegg-metadata'; import { CompiledStateGraphProto } from './CompiledStateGraphProto'; import { IGraphMetadata, IGraphToolMetadata } from '@eggjs/tegg-langchain-decorator'; export declare class GraphLoadUnitHook implements LifecycleHook { private readonly eggPrototypeFactory; clazzMap: Map; graphCompiledNameMap: Map; tools: Map; constructor(eggPrototypeFactory: EggPrototypeFactory); preCreate(ctx: LoadUnitLifecycleContext, loadUnit: LoadUnit): Promise; createStructuredTool(clazz: EggProtoImplClass, toolMeta: IGraphToolMetadata): { new (): { init(): Promise; }; }; postCreate(_ctx: LoadUnitLifecycleContext, obj: LoadUnit): Promise; }