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 readonly cdr;
    zoom: import("@angular/core").InputSignal<number>;
    width: import("@angular/core").InputSignal<number>;
    xxs: import("@angular/core").WritableSignal<number>;
    xs: import("@angular/core").WritableSignal<number>;
    sm: import("@angular/core").WritableSignal<number>;
    md: import("@angular/core").WritableSignal<number>;
    lg: import("@angular/core").WritableSignal<number>;
    xl: import("@angular/core").WritableSignal<number>;
    xxl: import("@angular/core").WritableSignal<number>;
    toolbarWidth: import("@angular/core").WritableSignal<number>;
    style: import("@angular/core").Signal<string>;
    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<DynamicCssComponent, [null, null, null, { optional: true; }, null]>;
    static ɵcmp: i0.ɵɵComponentDeclaration<DynamicCssComponent, "pdf-dynamic-css", never, { "zoom": { "alias": "zoom"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
}
