import type { OpenClawConfig } from "../config/types.js"; export type HistoryMaintenanceResult = { prunedFiles: number; prunedDirs: number; }; export declare function sweepAgentHistoryRetention(params: { cfg: OpenClawConfig; agentId: string; now?: Date; }): Promise;