import type { ImageInfo } from './types';

export async function convertPDFToImageFiles(file: File): Promise<{ list: ImageInfo[], pdf: File }> {
  console.warn('PDF conversion requires pdfjs-dist, which is missing. Returning empty list.');
  return { list: [], pdf: file };
}

export async function getPDFPageWidth(file: File): Promise<number> {
  console.warn('PDF conversion requires pdfjs-dist, which is missing. Returning 0.');
  return 0;
}
