| 172 | } |
| 173 | |
| 174 | export interface FormatPlugin { |
| 175 | id: FormatType |
| 176 | name: string |
| 177 | extension: string |
| 178 | mimeType: string |
| 179 | // Convert extracted content to target format |
| 180 | convert: (content: ExtractedContent, options: ExportOptions) => Promise<ConvertResult> |
| 181 | // Get format-specific preview options schema (optional) |
| 182 | getPreviewOptionsSchema?: () => PreviewOptionSchema[] |
| 183 | } |
| 184 | |
| 185 | export interface PreviewerProps { |
| 186 | result: ConvertResult |
nothing calls this directly
no outgoing calls
no test coverage detected