import type { FinalizedMsgContext } from "../auto-reply/templating.js"; import type { AgentHistoryDisposition } from "../config/types.history.js"; import type { OpenClawConfig } from "../config/types.js"; export declare function emitInboundHistoryFromContext(params: { cfg: OpenClawConfig; agentId: string; ctx: FinalizedMsgContext; disposition?: AgentHistoryDisposition; }): Promise; export declare function emitInboundHistory(params: { cfg: OpenClawConfig; agentId: string; surface: string; conversationKey: string; disposition: AgentHistoryDisposition; text: string; ts?: string | number | Date; accountId?: string; threadId?: string; messageId?: string; replyToId?: string; replyToIsQuote?: boolean; senderId?: string; senderLabel?: string; quotedText?: string; sessionKey?: string; sessionId?: string; }): Promise; export declare function emitOutboundHistory(params: { cfg: OpenClawConfig; agentId: string; surface: string; conversationKey: string; text: string; ts?: string | number | Date; accountId?: string; threadId?: string; messageId?: string; replyToId?: string; senderLabel?: string; sessionKey?: string; sessionId?: string; }): Promise; export declare function emitCronHistory(params: { cfg: OpenClawConfig; agentId: string; jobId: string; phase: "started" | "finished"; ts?: string | number | Date; status?: "ok" | "error" | "skipped"; inputText?: string; outputText?: string; error?: string; delivered?: boolean; deliveryStatus?: string; sessionKey?: string; sessionId?: string; }): Promise;