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
16 lines • 700 B
TypeScript
import { Instance } from './module.js';
import { OpenAPIClient, OpenAPIClientAxios } from 'openapi-client-axios';
export type OpenApiHandle = {
api: OpenAPIClientAxios;
client: OpenAPIClient;
};
export declare function registerOpenApiModule(moduleName: string, handle: OpenApiHandle): Promise<string>;
export declare function isOpenApiModule(moduleName: string): boolean;
export type OpenApiArgs = {
parameters?: any;
data?: any;
config?: any;
};
export declare function invokeOpenApiEvent(moduleName: string, eventName: string, params: OpenApiArgs): Promise<any>;
export declare function isOpenApiEventInstance(eventInst: Instance): boolean;
//# sourceMappingURL=openapi.d.ts.map