import { EggContext, EggObject } from '@eggjs/tegg-runtime'; import { EggObjectName, EggPrototypeName, Id } from '@eggjs/tegg'; import { CompiledStateGraphProto } from './CompiledStateGraphProto'; import { EggPrototype } from '@eggjs/tegg-metadata'; import { GraphMetadata } from '@eggjs/tegg-langchain-decorator'; export declare class CompiledStateGraphObject implements EggObject { private status; id: Id; readonly name: EggPrototypeName; readonly proto: CompiledStateGraphProto; readonly ctx: EggContext; readonly daoName: string; private _obj; readonly graphMetadata: GraphMetadata; readonly graphName: string; constructor(name: EggObjectName, proto: CompiledStateGraphProto); init(): Promise; build(): Promise; boundNodes(stateGraph: EggObject): Promise; boundEdges(stateGraph: EggObject): Promise; /** * 包装 graph 方法,添加 tracing */ wrapGraphMethod(originalMethod: (input: any, config?: any) => Promise, input: any, config?: any): Promise; getTracer(): Promise; injectProperty(): void; get isReady(): boolean; get obj(): object; static createObject(name: EggObjectName, proto: EggPrototype): Promise; }