/** * F5 CLI - Excel Image Extractor * * Extracts embedded images from Excel detail sheets (No.XXX pattern) * Works with any Excel file that has detail sheets with images. * * @module @f5/cli/commands/import/converters/image-extractor * @version 1.0.0 */ export interface ExtractedImage { issueId: string; sheetName: string; filename: string; extension: string; buffer: Buffer; mimeType: string; size: number; } export interface ImageExtractionResult { images: Map; totalImages: number; sheetsProcessed: number; warnings: string[]; } export interface ImageExtractorOptions { outputDir?: string; detailSheetPattern?: RegExp; saveImages?: boolean; } export declare class ImageExtractor { private filePath; private options; private warnings; constructor(filePath: string, options?: ImageExtractorOptions); /** * Check if the Excel file has detail sheets with images */ hasDetailSheets(): Promise; /** * Extract all images from detail sheets */ extract(): Promise; /** * Save extracted images to disk */ saveImages(images: Map): Promise; /** * Get MIME type from extension */ private getMimeType; } /** * Quick function to extract images from an Excel file */ export declare function extractExcelImages(filePath: string, outputDir?: string): Promise; export default ImageExtractor;