| 6 | export type ImageFormat = 'png' | 'svg' | 'pdf'; |
| 7 | |
| 8 | export interface ExportOptions { |
| 9 | format: ImageFormat; |
| 10 | scale?: number; // Scale factor for higher resolution, default 2 |
| 11 | backgroundColor?: string; |
| 12 | fileName?: string; |
| 13 | } |
| 14 | |
| 15 | const DEFAULT_OPTIONS: Required<ExportOptions> = { |
| 16 | format: 'png', |
nothing calls this directly
no outgoing calls
no test coverage detected