import { ElementRef, EventEmitter, OnDestroy, OnInit, AfterViewInit } from '@angular/core'; import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser'; import { Router } from '@angular/router'; import { SelectOption } from '../select/select.component'; import * as i0 from "@angular/core"; export interface PreviewDevice { id: string; name: string; width: number; height: number; } export declare class MobilePreviewComponent implements OnInit, AfterViewInit, OnDestroy { private document; private sanitizer; private router; devices: PreviewDevice[]; set url(value: string | null); get url(): string | null; /** Controls whether the component attempts full-screen mode on open */ autoFullscreen: boolean; opened: EventEmitter; closed: EventEmitter; stageRef?: ElementRef; private _url; safeUrl: SafeResourceUrl | null; selectedDevice: PreviewDevice; orientation: 'portrait' | 'landscape'; zoom: number; showDeviceFrame: boolean; showStatusBar: boolean; showScrollIndicator: boolean; statusBarTime: string; isFullscreen: boolean; private resizeObserver?; constructor(document: Document, sanitizer: DomSanitizer, router: Router); ngOnInit(): void; ngAfterViewInit(): void; ngOnDestroy(): void; private updateSafeUrl; private updateStatusBarTime; get frameWidth(): number; get frameHeight(): number; get outerWidth(): number; get outerHeight(): number; get deviceOptions(): SelectOption[]; selectDevice(d: PreviewDevice): void; onDeviceOptionSelected(id: string): void; setOrientation(o: 'portrait' | 'landscape'): void; rotate(): void; adjustZoom(delta: number): void; fitToScreen(): void; resetDefaults(): void; toggleFullscreen(): void; private requestFullscreen; private exitFullscreen; close(): void; onFullscreenChange(): void; onEscape(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }