import type { OpenClawConfig } from "../config/types.js"; import type { ChannelHistoryRecord, CronHistoryRecord } from "./types.js"; export type HistoryAppendResult = { written: boolean; path?: string; }; export declare function appendChannelHistoryRecord(params: { cfg: OpenClawConfig; agentId: string; surface: string; conversationKey: string; record: ChannelHistoryRecord; }): Promise; export declare function appendCronHistoryRecord(params: { cfg: OpenClawConfig; agentId: string; jobId: string; record: CronHistoryRecord; }): Promise;