import { OnModuleInit } from '@nestjs/common'; import { DBDockConfigService } from '../config/config.service'; import { StorageService } from '../storage/storage.service'; import { CryptoService } from '../crypto/crypto.service'; import { CompressionService } from '../backup/compression.service'; import { WalMetadata, WalArchiveOptions, WalArchiveResult } from './wal.types'; import { Readable } from 'stream'; export declare class WalArchiverService implements OnModuleInit { private configService; private storageService; private cryptoService; private compressionService; private readonly logger; private pitrEnabled; constructor(configService: DBDockConfigService, storageService: StorageService, cryptoService: CryptoService, compressionService: CompressionService); onModuleInit(): Promise; private setupWalArchiving; archiveWalFile(options: WalArchiveOptions): Promise; private createHashStream; private extractTimeline; private extractLogSegmentNumber; private generateWalStorageKey; private saveWalMetadata; listWalFiles(timeline?: number): Promise; getWalFile(walFile: string): Promise; private getWalMetadata; cleanupOldWalFiles(retentionDays: number): Promise; }