/** * Generates a QR code with the given content and options. * @param content - The text/content to encode in the QR code. * @param width - The width/size of the QR code. * @param level - The error correction level ('L', 'M', 'Q', 'H') (default: 'M'). * @param color - The color of the QR code (default: '#000000'). * @param backgroundColor - The background color of the QR code (default: '#FFFFFF'). * @param outputType - The output type: 'canvas', 'svg', or 'url' (default: 'canvas'). * @param canvas - Optional canvas element reference if output type is 'canvas'. * @param svg - Optional SVG element reference if output type is 'svg'. * @returns A Promise that resolves with a URL if the output type is 'url', or void for other types. */ declare function generateQRCode(content: string, // Mandatory content parameter width: number, // Mandatory size parameter level: 'L' | 'M' | 'Q' | 'H', // Default level is 'M' color: string, // Default color is black backgroundColor: string, // Default background color is white outputType?: 'canvas' | 'svg' | 'url', // Default output type is 'canvas' canvas?: HTMLCanvasElement, // Optional canvas element for canvas output svg?: HTMLElement): Promise; export { generateQRCode };