import { PluginIdentity } from '../pluginIdentity'; import { ActivityLogEntry } from './activityLog.types'; export declare const activityLogSegmentSizeBytes: number; export declare class ActivityLogStorage { readonly identity: PluginIdentity; readonly path: string | null; readonly legacyPath: string | null; private entries; private dataAccess; constructor(configPath: string | null, identity?: PluginIdentity); getEntries(reload?: boolean): ActivityLogEntry[]; setEntries(entries: ActivityLogEntry[]): void; append(entry: ActivityLogEntry): void; clear(): void; ensureDirectory(): string | null; getSizeBytes(): number; private readEntries; private readSegmentEntries; private readLegacyEntries; private parseLegacyEntries; private ensureMigrated; private writeEntries; private writeSegmentsUnsafe; private segmentNames; private notifyChanged; } export declare function splitActivityLogSegments(entries: ActivityLogEntry[], maxBytes?: number): string[];