import { PluginIdentity } from '../pluginIdentity'; import { ActivityLogStorage } from './activityLog.storage'; import { ActivityLogDraft, ActivityLogEntry, ActivityLogRetentionSettings } from './activityLog.types'; export declare class ActivityLogService { readonly storage: ActivityLogStorage; constructor(configPath: string | null, identity?: PluginIdentity); getEntries(): ActivityLogEntry[]; record(draft: ActivityLogDraft, retention: ActivityLogRetentionSettings): ActivityLogEntry; prune(retention: ActivityLogRetentionSettings): ActivityLogEntry[]; clear(): void; ensureDirectory(): string | null; hasSizeWarning(retention: ActivityLogRetentionSettings): boolean; }