import { ElementRef, EventEmitter, OnDestroy, OnInit, Renderer2 } from '@angular/core';
import { ProgressBarMode } from '@angular/material/progress-bar';
import { ActivatedRoute, Router } from '@angular/router';
import { TranslateService } from '@ngx-translate/core';
import { ActiveData, AlertService, NotificationMessage, StatusDisplayConfig, TerminologyService } from '@tilde-nlp/ngx-common';
import { TldTranslateButtonService } from '../../tld-common/components/translate-button/tld-translate-button.service';
import { ITldTranslateMessage } from '../../tld-common/models';
import { TldTranslateConfigService, TldTranslateSystemManagementService } from '../../tld-common/services';
import { ISwitcherTranslationOptions } from '../../tld-tooltip/models/switcher-options.model';
import { TldTranslateWebService } from '../tld-translate-web.service';
import * as i0 from "@angular/core";
export declare class TldTranslateWebsiteComponent implements OnInit, OnDestroy {
    private readonly translate;
    private readonly configService;
    private readonly translateButtonService;
    private readonly alerts;
    private readonly router;
    private activatedRoute;
    private readonly tldSystem;
    private readonly terminologyService;
    private readonly tldTranslateWebService;
    private readonly renderer;
    iframe: ElementRef;
    constructor(translate: TranslateService, configService: TldTranslateConfigService, translateButtonService: TldTranslateButtonService, alerts: AlertService, router: Router, activatedRoute: ActivatedRoute, tldSystem: TldTranslateSystemManagementService, terminologyService: TerminologyService, tldTranslateWebService: TldTranslateWebService, renderer: Renderer2);
    product: string;
    company: string;
    urlInputField: ElementRef;
    settingSystemListForFirstTime: boolean;
    urlToTranslate: string;
    showCancel: boolean;
    showRestore: boolean;
    showTranslateBtn: boolean;
    translating: boolean;
    disableButton: boolean;
    logoLocation: string;
    debug: boolean;
    webLangAutodetect: boolean;
    hidePopup: boolean;
    translatePagePath: string;
    appId: string;
    xApiKey: string;
    translateServiceUrl: string;
    switcherOptions: ISwitcherTranslationOptions;
    onError: EventEmitter<any>;
    activeSystemObj: ActiveData;
    messages: NotificationMessage[];
    mode: ProgressBarMode;
    progressValue: number;
    showProgress: boolean;
    showEmptyView: boolean;
    emptyViewConfig: StatusDisplayConfig;
    noSystemsError: ITldTranslateMessage;
    get actionButtonDisabled(): boolean;
    get hideLangMenuLabels(): boolean;
    get maxDisplayedLanguages(): number;
    get isCollectionsActivated(): boolean;
    get showDomainsWithLanguageName(): boolean;
    get helpUrl(): string;
    get sandbox(): string;
    readonly useParentWidth = true;
    private readonly destroy$;
    changeAuth(isAuth: boolean): void;
    initializeWidget(): void;
    ngOnInit(): void;
    ngAfterViewInit(): void;
    ngOnDestroy(): void;
    private receiveMessage;
    private sendMessage;
    removeMessage(ix: number): void;
    swapLanguages(): void;
    systemChange(systemId: string): void;
    sourceLanguageChange(language: string): void;
    targetLanguageChange(language: string): void;
    translateButtonClick(): void;
    loadButtonClicked(): void;
    clearUrlToTranslate(): void;
    cancel(): void;
    restore(): void;
    private initFromConfig;
    goToHome(): void;
    addScript(url: string): void;
    addConfigurationScrip(): void;
    private setEmptyViewConfiguration;
    static ɵfac: i0.ɵɵFactoryDeclaration<TldTranslateWebsiteComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<TldTranslateWebsiteComponent, "tld-translate-website", never, { "product": { "alias": "product"; "required": false; }; "company": { "alias": "company"; "required": false; }; }, { "onError": "onError"; }, never, never, false, never>;
}
