/** * Represents the result of a file operation. */ interface FileOperationResult { /** * Indicates whether the operation was successful. */ success: boolean; /** * A message describing the result of the operation. */ message: string; /** * The original size of the file in bytes. */ originalSize: number; /** * The final size of the file in bytes. Represents the size of the compressed or decompressed file. */ finalSize: number; } /** * Initializes the Lz4 module. * This method should be called before any other method. * By default, this method is called automatically when the module is imported. */ export declare function initializeLz4(): void; /** * Gets the version number of the Lz4 library. * @returns The version number of the Lz4 library. */ export declare function getLz4VersionNumber(): Promise; /** * Gets the version string of the Lz4 library. * @returns The version string of the Lz4 library. */ export declare function getLz4VersionString(): Promise; /** * Compresses a file using the Lz4 algorithm. * @param sourcePath The path to the file to compress. * @param destinationPath The path to save the compressed file. * @returns A promise that resolves to a FileOperationResult object. */ export declare function compressFile(sourcePath: string, destinationPath: string): Promise; /** * Decompresses a file that was compressed using the Lz4 algorithm. * @param sourcePath The path to the file to decompress. * @param destinationPath The path to save the decompressed file. * @returns A promise that resolves to a FileOperationResult object. */ export declare function decompressFile(sourcePath: string, destinationPath: string): Promise; export {}; //# sourceMappingURL=index.d.ts.map