import type { HostContext } from './types.js'; type AssemblyRewriter = (assembly: unknown, assembleArgs: unknown[]) => void; /** 注册一个「assemble 返回后」的改写器,返回随 Fiber 释放的 disposer。 */ export declare function registerAssembleRewriter(fn: AssemblyRewriter): () => void; /** 确保 systemPrompt.assemble 恰好包着一层本插件包装(幂等、自愈)。 * 返回 false 表示 systemPrompt 服务不可用或没有可包装的 assemble。 */ export declare function ensureAssemblePatch(ctx: HostContext, systemPrompt: unknown): boolean; export {}; //# sourceMappingURL=assemble-patch.d.ts.map