import { ElementRef, OnChanges, OnInit, SimpleChanges } from '@angular/core';
import { MatSnackBar } from '@angular/material/snack-bar';
import { TranslateService } from '@aztrix/helpers';
import { BehaviorSubject } from 'rxjs';
import * as i0 from "@angular/core";
export declare class QrCodeComponent implements OnInit, OnChanges {
    private _baseUrl;
    private _snackbar;
    private _translate;
    name?: string;
    avatarUrl?: string;
    url: string;
    useAvatar: boolean;
    whiteLabel: boolean;
    generated$: BehaviorSubject<boolean>;
    error$: BehaviorSubject<boolean>;
    qrImage: ElementRef;
    constructor(_baseUrl: string, _snackbar: MatSnackBar, _translate: TranslateService);
    ngOnChanges(changes: SimpleChanges): void;
    ngOnInit(): void;
    download(): void;
    private _fetchQR;
    static ɵfac: i0.ɵɵFactoryDeclaration<QrCodeComponent, [{ optional: true; }, null, null]>;
    static ɵcmp: i0.ɵɵComponentDeclaration<QrCodeComponent, "ax-qr-code", never, { "name": { "alias": "name"; "required": false; }; "avatarUrl": { "alias": "avatarUrl"; "required": false; }; "url": { "alias": "url"; "required": false; }; "useAvatar": { "alias": "useAvatar"; "required": false; }; "whiteLabel": { "alias": "whiteLabel"; "required": false; }; }, {}, never, never, false, never>;
}
