UNPKG

@vue-pdf-viewer/viewer

Version:

A vue-pdf-viewer component for Vue and Nuxt. Suitable for vue-pdf document.

9 lines (8 loc) 595 B
import { ComputedRef, type Reactive, type ComponentInternalInstance, type Ref } from 'vue'; import { type Localization, type PluginItem, type Plugin } from '@vue-pdf-viewer/shared'; import type { PDFDocumentProxy } from 'pdfjs-dist'; declare const usePlugins: (instance: ComponentInternalInstance, plugins?: Reactive<Plugin<PDFDocumentProxy>[]>, viewerLocalization?: ComputedRef<Localization>, pdfDocument?: Ref<PDFDocumentProxy | undefined>, originalPdfBytes?: Ref<Uint8Array | null>) => { sidebarItems: Ref<PluginItem[]>; annotationMounted: Ref<boolean>; }; export default usePlugins;