export type ErrorCorrectionLevel = 'L' | 'M' | 'Q' | 'H'; export type ExportSize = 256 | 512 | 1024 | 2048; export interface QRCodeOptions { text: string; errorCorrection: ErrorCorrectionLevel; foregroundColor: string; backgroundColor: string; margin: number; size: ExportSize; }