import { AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy, TemplateRef } from '@angular/core'; import { NgxExtendedPdfViewerService } from '../../ngx-extended-pdf-viewer.service'; import { PdfShyButtonService } from '../../toolbar/pdf-shy-button/pdf-shy-button-service'; import { PDFNotificationService } from './../../pdf-notification-service'; import * as i0 from "@angular/core"; export declare class PdfSecondaryToolbarComponent implements AfterViewInit, OnDestroy { private element; notificationService: PDFNotificationService; private platformId; pdfShyButtonService: PdfShyButtonService; private ngxExtendedPdfViewerService; private cdr; customSecondaryToolbar: import("@angular/core").InputSignal>; secondaryToolbarTop: import("@angular/core").InputSignal; mobileFriendlyZoomScale: import("@angular/core").InputSignal; localizationInitialized: import("@angular/core").InputSignal; spreadChange: import("@angular/core").OutputEmitterRef<"off" | "even" | "odd">; disablePreviousPage: boolean; disableNextPage: boolean; get secondaryToolbarMaxHeight(): string; private classMutationObserver; private PDFViewerApplication; private eventBusAbortController; constructor(element: ElementRef, notificationService: PDFNotificationService, platformId: Object, pdfShyButtonService: PdfShyButtonService, ngxExtendedPdfViewerService: NgxExtendedPdfViewerService, cdr: ChangeDetectorRef); private isZoneless; private asyncWithCD; onPdfJsInit(): void; updateUIState(): void; onSpreadChange(newSpread: 'off' | 'odd' | 'even'): void; onResize(): void; ngAfterViewInit(): void; ngOnDestroy(): void; checkVisibility(): void; private checkVisibilityRecursively; /** * Checks if a responsive visibility class (e.g. visibleSmallView) is currently * hidden at the current viewport width. These classes make buttons visible only * at smaller viewports via CSS media queries (max-width). We can't use * getComputedStyle because the secondary toolbar itself is hidden, so we * extract the actual breakpoint from the dynamic CSS and compare it to the * current viewport width. */ private isResponsiveClassHidden; /** * Checks if the given responsive class is currently active by evaluating * the matching CSS @media rule from the dynamic stylesheet. */ private isResponsiveBreakpointActive; onClick(htmlevent: Event, action: undefined | ((htmlevent: Event, secondaryToolbar: boolean) => void), eventBusName?: string, closeOnClick?: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }