import type { ManagedReActAgentInterceptor } from '../managed-interceptor'; export type SystemPromptInjectInterceptorOptions = { /** 系统提示词 */ systemPrompt: string; }; /** * 系统提示词注入拦截器。 * * 在 llmRequest 中将 systemPrompt 注入到 messages 的 system 消息中。 * - 若已存在 system 消息(如外部开发者在 MessageStore 中存入),将 systemPrompt 合并到其 content 头部 * - 若不存在 system 消息,在 messages 头部创建新的 system 消息 * * 瞬态注入,不写入 MessageStore。与 environmentInject 遵循相同的注入模式。 * * 排序要求:必须在 iterationLimit、environmentInject、skill 之前执行, * 确保 system 消息在其他拦截器追加内容之前已存在。 */ export declare const createSystemPromptInjectInterceptor: ({ systemPrompt, }: SystemPromptInjectInterceptorOptions) => ManagedReActAgentInterceptor;