export declare const ARCHIVE_FORMAT_VERSION = 2;
export interface ArchiveChunkMeta {
    format_version: number;
    compression: 'gzip' | 'zstd';
    encryption: 'aes-256-gcm';
    chunk_type: 'events' | 'sessions' | 'decisions' | 'mixed';
    project: string;
    date: string;
    event_count: number;
    created_at: string;
    checksum?: string;
}
export interface ArchiveChunk {
    meta: ArchiveChunkMeta;
    data: Buffer;
}
export declare function readArchiveChunkMeta(projectDir: string, chunkType: string, date: Date): ArchiveChunkMeta | null;
export declare function listArchiveChunks(projectDir: string): Array<{
    path: string;
    meta: ArchiveChunkMeta | null;
}>;
export declare function writeArchiveChunk(projectDir: string, project: string, chunkType: string, events: unknown[], _key: Buffer, date?: Date): {
    chunkPath: string;
    metaPath: string;
};
export declare function verifyArchiveIntegrity(projectDir: string): {
    totalChunks: number;
    versionedChunks: number;
    unversionedChunks: number;
    totalEvents: number;
    issues: string[];
};
//# sourceMappingURL=archive-versioning.d.ts.map