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
21 lines • 1.02 kB
TypeScript
import { ApplicationSpec } from '../runtime/loader.js';
import { Module } from '../runtime/module.js';
import { ModuleDefinition } from '../language/generated/ast.js';
import { Config } from '../runtime/state.js';
export type GenerateOptions = {
destination?: string;
};
export default function (): void;
/**
* Parse and validate a program written in our language.
* Verifies that no lexer or parser errors occur.
* Implicitly also checks for validation errors while extracting the document
*
* @param fileName Program to validate
*/
export declare const parseAndValidate: (fileName: string) => Promise<void>;
export declare function runPostInitTasks(appSpec?: ApplicationSpec, config?: Config): Promise<void>;
export declare function runPreInitTasks(): Promise<boolean>;
export declare const runModule: (fileName: string, releaseDb?: boolean) => Promise<void>;
export declare function internAndRunModule(module: ModuleDefinition, appSpec?: ApplicationSpec): Promise<Module>;
//# sourceMappingURL=main.d.ts.map