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; declare function getDestinationRef(doc: PDFDocumentProxy, destArray: any[] | null): Promise; declare function getLocation(type: string, spec: number[]): PDFLocation | null; declare const isSpecLike: (list: any[]) => list is number[]; export { getDestinationArray, getDestinationRef, getLocation, isSpecLike };