import { type Readable } from 'node:stream'; interface ConvertImageOptions { resolution?: number; outType?: 'png' | 'tiff'; } /** * Converts a PDF file to TIFF/PNG using ImageMagick. * ImageMagick and Ghostscript must be installed on the system. * @param inputStream - Content of the input file. * @param options - Options */ declare const convertImage: (inputStream: Readable, options?: ConvertImageOptions) => Promise; export default convertImage;