import { ApiModule, Module } from "./Module.js";
import { AgentContext } from "../agent/context/AgentContext.js";

//#region src/plugins/utils.d.ts
declare function getRegisteredModuleByInstance<M extends Module>(agentContext: AgentContext, moduleType: {
  new (...args: unknown[]): M;
}): M | undefined;
declare function getRegisteredModuleByName<M extends Module>(agentContext: AgentContext, constructorName: string): M | undefined;
declare function getApiForModuleByName<M extends ApiModule>(agentContext: AgentContext, constructorName: string): InstanceType<M['api']> | undefined;
//#endregion
export { getApiForModuleByName, getRegisteredModuleByInstance, getRegisteredModuleByName };
//# sourceMappingURL=utils.d.ts.map