declare const helpText = "\ncompress-pdf - Compress PDF files using Ghostscript\n\nUsage:\n npx compress-pdf --file --output [options]\n\nRequired:\n -f, --file Path to the PDF file to compress\n -o, --output Path to save the compressed PDF\n\nOptions:\n -r, --resolution Compression preset: screen | ebook | printer | prepress | default\n (default: ebook)\n --compatibilityLevel PDF compatibility level (default: 1.4)\n --imageQuality Image resolution/quality in DPI, 1-600 (default: 100)\n --gsModule Custom Ghostscript binary path\n --pdfPassword Password for protected PDFs\n --removePasswordAfterCompression\n Remove password protection after compression\n -h, --help Show this help message\n\nExamples:\n npx compress-pdf -f input.pdf -o output.pdf\n npx compress-pdf -f input.pdf -o output.pdf -r screen\n npx compress-pdf -f input.pdf -o output.pdf --imageQuality 72\n npx compress-pdf -f protected.pdf -o output.pdf --pdfPassword mypass\n"; /** * Run the CLI with the given argument list (same shape as process.argv.slice(2)). * Returns a process exit code (0 success, 1 error). */ declare function runCli(userArgs: readonly string[]): Promise; export { helpText, runCli };