/** * F5 CLI - Mondai (問題管理表) Converter * * Specialized converter for Japanese issue management Excel files * with embedded images/attachments in detail sheets. * * Structure: * - Main sheet (動作確認一覧): Issue list with No, summary, status, etc. * - Detail sheets (No.XXX): Per-issue details with embedded images * * @module @f5/cli/commands/import/converters/mondai-converter * @version 1.0.0 */ import type { F5Issue } from '../../../types/integrations.js'; export interface MondaiConversionResult { issues: F5Issue[]; attachments: Map; stats: { totalIssues: number; totalAttachments: number; issuesByType: Record; issuesByPriority: Record; }; warnings: string[]; } export interface ExtractedAttachment { issueNo: string; filename: string; extension: string; buffer: Buffer; mimeType: string; size: number; } export interface MondaiConverterOptions { mainSheetName?: string; headerRow?: number; outputDir?: string; extractImages?: boolean; } export declare class MondaiConverter { private filePath; private options; private warnings; constructor(filePath: string, options?: MondaiConverterOptions); /** * Convert Excel file to F5 issues with attachments */ convert(): Promise; /** * Parse main sheet to extract issues */ private parseMainSheet; /** * Extract images from all detail sheets (No.XXX) */ private extractAllImages; /** * Save extracted attachments to disk */ saveAttachments(attachments: Map, baseDir: string): Promise>; /** * Get cell value as string */ private getCellValue; /** * Parse date from cell value */ private parseDate; /** * Get MIME type from extension */ private getMimeType; /** * Calculate conversion statistics */ private calculateStats; } export default MondaiConverter;