import { LitElement, PropertyValueMap } from 'lit';
import { Ref } from 'lit/directives/ref.js';
import { PDFDocumentProxy } from 'pdfjs-dist';
import { WeavyContextProps } from '../types/weavy.types';
import { ShadowPartsController } from '../controllers/shadow-parts-controller';

import * as pdfjsViewer from "pdfjs-dist/web/pdf_viewer.mjs";
/**
 * PDF Viewer component based on pdfjs examples
 *
 * @see https://github.com/mozilla/pdf.js/blob/master/examples/mobile-viewer
 * @see https://github.com/mozilla/pdf.js/blob/master/examples/components/
 */
export default class WyPdfViewer extends LitElement {
    static styles: import('lit').CSSResult[];
    protected exportParts: ShadowPartsController;
    private weavyContext?;
    MAX_CANVAS_PIXELS: number;
    TEXT_LAYER_MODE: number;
    MAX_IMAGE_SIZE: number;
    CMAP_URL?: URL;
    CMAP_PACKED: boolean;
    DEFAULT_SCALE_DELTA: number;
    MIN_SCALE: number;
    MAX_SCALE: number;
    DEFAULT_SCALE_VALUE: string;
    ENABLE_XFA: boolean;
    DEFAULT_WORKER_URL: string;
    WORKER_URL?: URL;
    src: string;
    pageNumberRef: Ref<HTMLInputElement>;
    totalPagesRef: Ref<HTMLSpanElement>;
    zoomLevelRef: Ref<HTMLInputElement>;
    viewerContainerRef: Ref<HTMLDivElement>;
    pdfDocument?: PDFDocumentProxy;
    l10n?: pdfjsViewer.GenericL10n;
    pdfHistory?: pdfjsViewer.PDFHistory;
    pdfViewer?: pdfjsViewer.PDFViewer;
    pdfEventBus?: pdfjsViewer.EventBus;
    pdfLinkService?: pdfjsViewer.PDFLinkService;
    private pdfLoadingTask?;
    private open;
    private close;
    private pdfViewError;
    setPage(pageNumber: number): void;
    zoomIn(ticks: number): void;
    zoomOut(ticks: number): void;
    setScale(scale: number | string): void;
    updatePage(): void;
    select(e: Event): void;
    fitToPage(): void;
    fitToWidth(): void;
    updateZoom(): void;
    willUpdate(changedProperties: PropertyValueMap<this & WeavyContextProps>): void;
    update(changedProperties: PropertyValueMap<this & WeavyContextProps>): void;
    updated(): void;
    render(): import('lit-html').TemplateResult<1>;
    disconnectedCallback(): void;
}
//# sourceMappingURL=wy-pdf-viewer.d.ts.map