import type { OpenClawConfig } from "../config/types.js"; export type ResolvedHistoryConfig = { enabled: boolean; path: string; channel: { enabled: boolean; surfaces: string[]; includeQuotedContext: boolean; includeNonDispatchedInbound: boolean; }; cron: { enabled: boolean; }; shard: { maxBytes: number; padWidth: number; }; retention: { days?: number; }; exclude: { conversations: string[]; jobs: string[]; }; }; export declare const DEFAULT_HISTORY_SHARD_MAX_BYTES: number; export declare const DEFAULT_HISTORY_SHARD_PAD_WIDTH = 4; export declare function resolveDefaultAgentHistoryDir(agentId: string): string; export declare function resolveAgentHistoryPath(rawPath: string | undefined, agentId: string): string; export declare function getAgentHistoryScopeRoot(agentId: string): string; export declare function assertHistoryPathWithinAgentScope(resolvedPath: string, agentId: string): string; export declare function resolveAgentHistoryConfig(cfg: OpenClawConfig, agentId: string): ResolvedHistoryConfig;