import { HttpClient } from '@angular/common/http';
import { OnDestroy } from '@angular/core';
import { PDFDocumentProxy } from 'pdfjs-dist';
import { AbstractViewerComponent } from '../abstract/abstract.viewer.component';
import { PdfViewerComponent } from './pdf-viewer/pdf-viewer.component';
import { PDFProgressData, ZoomScale } from './pdf-viewer/utils/typings';
import * as i0 from "@angular/core";
export declare class PdfComponent extends AbstractViewerComponent implements OnDestroy {
    #private;
    readonly http: HttpClient;
    loadingPdf: import("@angular/core").WritableSignal<boolean>;
    showToolbar: import("@angular/core").Signal<any>;
    page: import("@angular/core").WritableSignal<number>;
    totalPages: import("@angular/core").WritableSignal<number>;
    zoomOptions: {
        value: number;
        label: string;
    }[];
    error: {
        message: string;
        name: string;
    } | null;
    rotation: import("@angular/core").WritableSignal<number>;
    zoom: import("@angular/core").WritableSignal<number>;
    zoomScale: import("@angular/core").WritableSignal<ZoomScale>;
    originalSize: import("@angular/core").WritableSignal<boolean>;
    pdf: import("@angular/core").WritableSignal<import("pdfjs-dist/types/src/display/api").PDFDocumentProxy | null>;
    renderText: import("@angular/core").WritableSignal<boolean>;
    progressData: import("@angular/core").WritableSignal<PDFProgressData | null>;
    isLoaded: import("@angular/core").WritableSignal<boolean>;
    stickToPage: import("@angular/core").WritableSignal<boolean>;
    showAll: import("@angular/core").WritableSignal<boolean>;
    autoresize: import("@angular/core").WritableSignal<boolean>;
    fitToPage: import("@angular/core").WritableSignal<boolean>;
    outline: import("@angular/core").WritableSignal<any[]>;
    isOutlineShown: import("@angular/core").WritableSignal<boolean>;
    pdfQuery: import("@angular/core").WritableSignal<string>;
    searchResultCount: import("@angular/core").WritableSignal<number | null>;
    selectedText: import("@angular/core").WritableSignal<string>;
    pdfComponent: import("@angular/core").Signal<PdfViewerComponent>;
    constructor();
    /**
     * Get pdf information after it's loaded
     * @param pdf pdf document proxy
     */
    afterLoadComplete(pdf: PDFDocumentProxy): void;
    /**
     * Get outline
     */
    loadOutline(): void;
    /**
     * Handle error callback
     *
     * @param error error message
     */
    onError(error: any): void;
    /**
     * Pdf loading progress callback
     * @param progressData pdf progress data
     */
    onProgress(progressData: PDFProgressData): void;
    /**
     * Navigate to destination
     * @param destination pdf navigate to
     */
    navigateTo(destination: any): void;
    /**
     * Page rendered callback, which is called when a page is rendered (called multiple times)
     *
     * @param e custom event
     */
    pageRendered(e: CustomEvent): void;
    /**
     * Page initialized callback.
     *
     * @param {CustomEvent} e
     */
    pageInitialized(e: CustomEvent): void;
    /**
     * Page change callback, which is called when a page is changed (called multiple times)
     *
     * @param e number
     */
    pageChange(e: number): void;
    searchQueryChanged(newQuery: string): void;
    onAnchorKeyup(event: KeyboardEvent, dest: any): void;
    ngOnDestroy(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<PdfComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<PdfComponent, "yuv-pdf", never, {}, {}, never, never, true, never>;
}
