/** * Skill loader hook — wires SkillLoader into chat.message to inject * applicable skills as synthetic prompt parts per session+agent. * * Skills are discovered on first call and cached. The hook filters * skills by agent name and injects their formatted body. */ import type { Logger, PluginConfig } from '../types'; export interface SkillLoaderHooks { /** Call from chat.message to inject skills for the current agent. */ onMessage: (input: { sessionID: string; messageID?: string; agent?: string; }, output: { parts: Array>; }) => void; } export declare function createSkillLoaderHooks(logger: Logger, directory: string, config: PluginConfig): SkillLoaderHooks; //# sourceMappingURL=skill-loader.d.ts.map