/**
 * PDF to Image Interface Definitions
 */

export interface Pdf2ImageOptions {
  density?: number;        // DPI resolution, default 300
  quality?: number;        // JPEG quality (1-100), default 85
  format?: 'jpeg' | 'png'; // output format, default jpeg
  outDir?: string;         // Output directory, default ./temp
}

export interface ImageInfo {
  path: string;            // Image file path
  pageIndex: number;       // Page number (starting from 1)
  size: number;            // File size (bytes)
  width?: number;          // Image width
  height?: number;         // Image height
}

export interface ConversionResult {
  images: ImageInfo[];
  totalPages: number;
  successCount: number;
  failedCount: number;
}
