import { type PropertyDeclarations } from 'lit'; import { type BitMatrix, type GeneratedQRCodeSegment, type QRCodeErrorCorrectionLevel, type QRCodeMaskPattern, type QRCodeToSJISFunc } from 'qrcode'; import { ElementSlug } from '../../definitions/enums.js'; import type { QrCodeElementEventMap } from '../../definitions/events.js'; import { AracnaBaseElement as BaseElement } from '../core/base-element.js'; declare global { interface HTMLElementTagNameMap { 'aracna-qrcode': QrCodeElement; } } declare class QrCodeElement extends BaseElement { /** * Properties */ /** */ protected _backgroundColor?: string; errorCorrectionLevel?: QRCodeErrorCorrectionLevel; protected _foregroundColor?: string; margin?: number; maskPattern?: QRCodeMaskPattern; text?: string; toSJIS?: QRCodeToSJISFunc; version?: number; /** * Internals */ /** */ modules?: BitMatrix; segments?: GeneratedQRCodeSegment[]; connectedCallback(): void; attributeChangedCallback(name: string, _old: string | null, value: string | null): void; create(): void; render(): import("lit").TemplateResult<1>; get backgroundColor(): string; set backgroundColor(value: string); get backgroundPathElementD(): string; get foregroundColor(): string; set foregroundColor(value: string); get foregroundPathElementD(): string | undefined; get slug(): ElementSlug; get svgElementViewBox(): string; static properties: PropertyDeclarations; } export { QrCodeElement as AracnaQrCodeElement };