UNPKG

@vue-pdf-viewer/viewer

Version:

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

32 lines (31 loc) 1.47 kB
import type { SelectionBounds } from '@/utils/annotation-menu-bounds'; import type { AnnotationHighlight, AnnotationTextSelectionType } from '@/utils/types'; declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{ open: boolean; selectionBounds: SelectionBounds | null; rotation: number; annotation?: AnnotationHighlight | null | undefined; color: string; }>>, { currentColor: import("vue").WritableComputedRef<string, string>; handleSelect: (type: AnnotationTextSelectionType) => void; handleClose: () => void; handleDelete: () => void; handleColorButtonClick: () => void; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{ open: boolean; selectionBounds: SelectionBounds | null; rotation: number; annotation?: AnnotationHighlight | null | undefined; color: string; }>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; export default _default; type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; type __VLS_TypePropsToRuntimeProps<T> = { [K in keyof T]-?: {} extends Pick<T, K> ? { type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; } : { type: import('vue').PropType<T[K]>; required: true; }; };