import { EventEmitter, OnInit, OnDestroy, OnChanges, SimpleChanges, ElementRef, ChangeDetectorRef, NgZone, AfterViewInit, QueryList } from '@angular/core'; import { PDFDocumentProxy } from 'pdfjs-dist'; import { ErrorBoundaryService } from './error-boundary.service'; import * as i0 from "@angular/core"; export declare class PdfViewerComponent implements OnInit, OnDestroy, OnChanges, AfterViewInit { private cdr; private ngZone; private errorBoundary; src: string; currentPage: number; zoom: number; rotation: number; viewMode: 'single' | 'continuous'; height: string; width: string; fullscreen: boolean; proxyUrl?: string; onLoad: EventEmitter<{ totalPages: number; }>; onError: EventEmitter; onPageChange: EventEmitter; pdfCanvas: ElementRef; pageCanvases: QueryList>; loading: boolean; error: string | null; totalPages: number; pages: number[]; loadedPages: Set; pdfDocument: PDFDocumentProxy | null; proxiedSrc: string; isExternal: boolean; isCorsError: boolean; private containerWidth; private abortController; private timeoutId; private heartbeatId; private lastActivity; private renderTasks; constructor(cdr: ChangeDetectorRef, ngZone: NgZone, errorBoundary: ErrorBoundaryService); ngOnInit(): void; ngAfterViewInit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; private onWindowResize; private initializePdf; private loadPdfDocument; private renderCurrentPage; private isRendering; private renderAllPages; private setError; retry(): void; openInNewTab(): void; download(): void; private getFileName; private startHeartbeat; private stopHeartbeat; private updateActivity; private cancelAllRenderTasks; private cleanup; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }