interface ConversationBlock {
    type: string;
    text: string;
    [key: string]: unknown;
}
/** Reset cached client (call when config changes) */
export declare function resetMemoryClient(): void;
/**
 * 实时同步单条消息到记忆系统。
 * 每条用户消息或 Agent 文本输出都立即发送，不等步骤完成。
 * 不包含工具调用、tool_result 等非文本消息。
 */
export declare function syncMessage(workId: string, workTitle: string, stepKey: string, role: "user" | "assistant", text: string): Promise<void>;
/** 步骤完成时批量同步（保留兼容） */
export declare function syncStepConversation(workId: string, workTitle: string, stepKey: string, stepName: string, blocks: ConversationBlock[]): Promise<void>;
export {};
//# sourceMappingURL=memory-sync.d.ts.map