@vue-pdf-viewer/viewer
Version:
A vue-pdf-viewer component for Vue and Nuxt. Suitable for vue-pdf document.
8 lines (7 loc) • 433 B
TypeScript
import { ComputedRef, type Reactive, type ComponentInternalInstance, type Ref } from 'vue';
import { type Localization, type PluginItem, type Plugin } from '@vue-pdf-viewer/shared';
declare const usePlugins: (instance: ComponentInternalInstance, plugins?: Reactive<Plugin[]>, viewerLocalization?: ComputedRef<Localization>) => {
sidebarItems: Ref<PluginItem[]>;
annotationMounted: Ref<boolean>;
};
export default usePlugins;