UNPKG

@vue-pdf-viewer/viewer

Version:

The PDF Viewer component for Vue 3 and Nuxt

8 lines (7 loc) 578 B
import type { PDFDocumentProxy, RefProxy } from 'pdfjs-dist/types/src/display/api'; import type { PDFLocation } from '../../utils/types'; declare function getDestinationArray(doc: PDFDocumentProxy, dest: string | any[] | null): Promise<any[] | null>; declare function getDestinationRef(doc: PDFDocumentProxy, destArray: any[] | null): Promise<RefProxy | null>; declare function getLocation(type: string, spec: number[]): PDFLocation | null; declare const isSpecLike: (list: any[]) => list is number[]; export { getDestinationArray, getDestinationRef, getLocation, isSpecLike };