import { Options, CompressResult } from './types.js'; /** * Compress a PDF file using Ghostscript. * * @param file - Path to the PDF file or a Buffer containing the PDF data. * @param options - Compression options. * @returns A CompressResult with the compressed buffer and metadata, * or just the Buffer for backward compatibility when destructured. */ declare function compress(file: string | Buffer, options?: Options): Promise & CompressResult>; export { compress as default };