import { ElementRef, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
import { MatSnackBar } from '@angular/material/snack-bar';
import { TranslateService } from '@aztrix/translate';
import { BehaviorSubject } from 'rxjs';
import * as i0 from "@angular/core";
export declare class QrCodeComponent implements OnInit, OnChanges, OnDestroy {
    private _baseUrl;
    private _snackbar;
    private _translate;
    name?: string;
    avatarUrl?: string;
    url: string;
    useAvatar: boolean;
    whiteLabel: boolean;
    generated$: BehaviorSubject<boolean>;
    error$: BehaviorSubject<boolean>;
    qrImage: ElementRef;
    private _subscriptions;
    constructor(_baseUrl: string, _snackbar: MatSnackBar, _translate: TranslateService);
    ngOnInit(): void;
    ngOnChanges(changes: SimpleChanges): void;
    ngOnDestroy(): 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>;
}
