import { ElementRef, EventEmitter, Injector, OnChanges, OnDestroy, SimpleChange } from '@angular/core';
import { BsModalService } from 'ngx-bootstrap/modal';
import { Localization } from '../localization';
import { Size } from '../model';
import { GuiContext } from './gui-context';
export declare class GuiComponent implements OnChanges, OnDestroy {
    private readonly el;
    private readonly localization;
    private readonly injector;
    private readonly bsModalService;
    context: GuiContext;
    size: Size;
    resizeMode: string;
    displayMode: string;
    loadFailed: EventEmitter<Error>;
    loaded: EventEmitter<any>;
    startTouch: any;
    isTouch: boolean;
    pageX: number;
    pageY: number;
    initX: number;
    initY: number;
    initWidth: number;
    initHeight: number;
    lastScale: number;
    isMobileMode: boolean;
    hostContainerId: string;
    private $svg;
    private host;
    private get viewResizeMode();
    private readonly globalSettings;
    private readonly viewService;
    constructor(el: ElementRef, localization: Localization, injector: Injector, bsModalService: BsModalService);
    ngOnChanges(changes: {
        [propKey: string]: SimpleChange;
    }): void;
    doubleFingerZooming(): void;
    getDistance(p1: any, p2: any): number;
    ngOnDestroy(): void;
    private onProviderChanged;
    private onSizeChanged;
    private onResizeModeChanged;
    private onDisplayModeChanged;
    refreshCurrentPage(): boolean;
}
