agentlang
Version:
The easiest way to build the most reliable AI agents - enterprise-grade teams of AI agents that collaborate with each other and humans
17 lines • 1.19 kB
TypeScript
import { ExecGraph } from './defs.js';
import { Environment } from './interpreter.js';
import { Instance } from './module.js';
export declare function generateExecutionGraph(eventName: string): Promise<ExecGraph | undefined>;
export declare function executeGraph(execGraph: ExecGraph, env: Environment): Promise<any>;
export declare function executeEvent(eventInstance: Instance, continuation?: Function, activeEnv?: Environment, kernelCall?: boolean): Promise<any>;
export declare function executeEventHelper(eventInstance: Instance, env?: Environment): Promise<any>;
export declare function executeStatement(stmt: string, env?: Environment, activeModule?: string): Promise<any>;
export declare function executeStatements(stmts: string[], env?: Environment, activeModule?: string): Promise<any>;
export declare function parseAndExecuteStatement(stmtString: string, activeUserId?: string, actievEnv?: Environment): Promise<any>;
export type EvalFns = {
evaluate: Function;
parseAndEvaluateStatement: Function;
};
export declare function enableExecutionGraph(): EvalFns;
export declare function disableExecutionGraph(oldFns: EvalFns): boolean;
//# sourceMappingURL=exec-graph.d.ts.map