import type { OpenClawConfig } from "../config/types.js"; export type HistoryFileEntry = { path: string; absPath: string; mtimeMs: number; size: number; hash: string; content: string; lineMap: number[]; }; export declare function listHistoryFilesForAgent(cfg: OpenClawConfig, agentId: string): Promise; export declare function buildHistoryEntry(absPath: string, cfg: OpenClawConfig, agentId: string): Promise;