import * as _angular_core from '@angular/core'; import { ElementRef } from '@angular/core'; /** * @license * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE */ /** * QR code error correction level. * * - `'L'` — Low (~7%) * - `'M'` — Medium (~15%) * - `'Q'` — Quartile (~25%) * - `'H'` — High (~30%) — needed if overlaying a center icon */ type WrQrErrorLevel = 'L' | 'M' | 'Q' | 'H'; /** * Renders a QR code on a ``. * * @example * ```html * * * ``` * * @see https://ngwr.dev/components/qrcode */ declare class WrQr { /** Text or URL to encode. Required. */ readonly value: _angular_core.InputSignal; /** Error correction level. Use `'H'` if you overlay an icon. @default 'M' */ readonly level: _angular_core.InputSignal; /** Side length of the rendered canvas, in pixels. @default 160 */ readonly size: _angular_core.InputSignalWithTransform; /** Outer quiet-zone padding in pixels. @default 10 */ readonly padding: _angular_core.InputSignalWithTransform; /** Module (dot) color. @default '#000000' */ readonly color: _angular_core.InputSignal; /** Background color of the canvas + host. @default '#ffffff' */ readonly bgColor: _angular_core.InputSignal; /** Optional image URL or data URL to overlay in the center. */ readonly iconUrl: _angular_core.InputSignal; /** Center icon size in logical pixels. @default 42 */ readonly iconSize: _angular_core.InputSignalWithTransform; protected readonly canvas: _angular_core.Signal | undefined>; protected readonly isBrowser: boolean; constructor(); static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } export { WrQr }; export type { WrQrErrorLevel };