/** * User-prompt template hook — wires UserPromptTemplate into * experimental.chat.messages.transform to inject per-agent user prompts. * * For each agent that has `user_prompt` configured, the template is * rendered with runtime variables and appended to the user's last message. */ import type { Logger, PluginConfig } from '../types'; export interface UserPromptTemplateHooks { /** Call from experimental.chat.messages.transform. */ onMessagesTransform: (output: { messages: Array<{ info: { role: string; agent?: string; }; parts: Array>; }>; }, context: { directory: string; projectId: string; }) => void; } export declare function createUserPromptTemplateHooks(logger: Logger, config: PluginConfig): UserPromptTemplateHooks; //# sourceMappingURL=user-prompt-template.d.ts.map