import type { SanitizeRule } from '../types'; /** * 空内容消息检测规则。 * * 检测场景:消息的 content 数组为空。 * 问题原因:消息构造异常或序列化错误。 * 空内容消息对 LLM 无意义且可能导致 API 错误。 * 修复策略:直接移除空内容消息。 * * @example * 输入: [user, assistant(content=[]), tool] * 输出: [user, tool] */ export declare const emptyContentRule: SanitizeRule;