

export interface Pdf2ImageOptions {
  density?: number;        
  quality?: number;        
  format?: 'jpeg' | 'png'; 
  outDir?: string;         
}

export interface ImageInfo {
  path: string;            
  pageIndex: number;       
  size: number;            
  width?: number;          
  height?: number;         
}

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