export interface CompressionInfo { type: 'zstd' | 'gzip' | 'none'; level: string; extension: string; compressCommand: string; decompressCommand: string; } export declare class CompressionDetector { /** * Check if zstd is available on localhost */ static hasZstdLocal(isDdev?: boolean): Promise; /** * Check if gzip is available on localhost */ static hasGzipLocal(isDdev?: boolean): Promise; /** * Check if zstd is available on remote server via SSH */ static hasZstdRemote(ssh: any): Promise; /** * Check if gzip is available on remote server via SSH */ static hasGzipRemote(ssh: any): Promise; /** * Detect best available compression for database operations * Checks both local and remote systems, returns the best available option * Priority: zstd (if both have it) > gzip (if both have it) > none */ static detectBestCompression(ssh: any, isDdev?: boolean): Promise; /** * Get compression info from file extension */ static getCompressionFromFile(filename: string): CompressionInfo; /** * Format compression type for display */ static formatCompressionType(compression: CompressionInfo): string; } //# sourceMappingURL=CompressionDetector.d.ts.map