import type { ExtensionModule } from "./types.ts"; /** * Dynamically import an extension module from disk. * Returns null (never throws) on failure — logs a warning. * @param modulePath Path to the module file (relative to roleDir or absolute) * @param roleDir The role's directory for relative path resolution */ export declare function loadExtensionModule(modulePath: string, roleDir: string): Promise; /** Clear the module cache — for testing or hot-reload scenarios. */ export declare function clearExtensionModuleCache(): void; //# sourceMappingURL=loader.d.ts.map