import { ChangeDetectorRef, OnDestroy, Renderer2 } from '@angular/core'; import { NgxHasHeight } from '../ngx-has-height'; import { VerbosityLevel } from '../options/verbosity-level'; import { PdfCspPolicyService } from '../pdf-csp-policy.service'; import * as i0 from "@angular/core"; export declare class DynamicCssComponent implements OnDestroy { private readonly renderer; private readonly document; private readonly pdfCspPolicyService; private readonly nonce; private cdr; zoom: import("@angular/core").InputSignal; width: import("@angular/core").InputSignal; xxs: import("@angular/core").WritableSignal; xs: import("@angular/core").WritableSignal; sm: import("@angular/core").WritableSignal; md: import("@angular/core").WritableSignal; lg: import("@angular/core").WritableSignal; xl: import("@angular/core").WritableSignal; xxl: import("@angular/core").WritableSignal; toolbarWidth: import("@angular/core").WritableSignal; style: import("@angular/core").Signal; constructor(renderer: Renderer2, document: Document, pdfCspPolicyService: PdfCspPolicyService, nonce: string | null | undefined, cdr: ChangeDetectorRef); private isZoneless; private asyncWithCD; updateToolbarWidth(): void; removeScrollbarInInfiniteScrollMode(restoreHeight: boolean, pageViewMode: string, primaryMenuVisible: boolean, ngxExtendedPdfViewer: NgxHasHeight, logLevel: VerbosityLevel): void; checkHeight(ngxExtendedPdfViewer: NgxHasHeight, logLevel: VerbosityLevel): void; /** * The height is defined with one of the units vh, vw, em, rem, etc. * So the height check isn't necessary. * @param height the height of the container */ private isHeightDefinedWithUnits; /** * #1702 workaround to a Firefox bug: when printing, container.clientHeight is temporarily 0, * causing ngx-extended-pdf-viewer to default to 100 pixels height. So it's better to do nothing. * @returns true if data-pdfjsprinting is set */ private isPrinting; /** * Checks if the code is running in a browser environment. */ private isBrowser; private getContainer; private isContainerHeightZero; private adjustHeight; /** * Walks up the DOM to find the nearest ancestor with constrained overflow (hidden/auto/scroll) * and an explicit height. This ensures the viewer respects parent container bounds * (e.g., a mat-card-content with height: 80vh) instead of always using the full viewport. * Falls back to window.innerHeight if no constraining ancestor is found. */ private findAvailableBottom; private calculateBorderMargin; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }